Friday, 28 October 2011

UScript: Temp gauge

I have been looking into decreasing the health of the player as he is in the water volume, but I have come across a way I could instead edit the length of time the player can survive without air located:


C:\UDK\UDK-2011-01\Development\Src\Engine\Classes\CheatManager.uc (1 hits)
Line 201: Pawn.UnderwaterTime = +999999.0;

possibly then insert an else statement in the player controller to regenerate health.

No comments:

Post a Comment