1
0
2025-05-28 21:48:33 -04:00

404 B
Raw Blame History

Function: SetHP(Spawn, CurrentHP)

Description: Sets the Spawn's Current HP, if the CurrentHP value is higher than the Spawn's Total HP it will override the Total HP as well.

Parameters:

Spawn: Spawn The Spawn whoms HP should be changed. CurrentHP: SInt32 - New HP value for the spawn.

Returns: None.

Example:

-- Example set Spawn HP to 1000
SetHP(Spawn, 1000)