set_max_hit_points(obj_name, new_hp[, full_hp])

Parameters:
obj_name (string) name of the object (can be a character, vehicle, or mover)
new_hp (integer) new maximum number of hit points
full_hp (boolean, optional) set to true if the object's current hit points should be set to the new maximum, or false to keep the current hit points as is (defaults to false)
 
Returns:
none

Description:
Set an object's maximum number of hit points.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15