Description
Directly sets the current health of a specified deployable to a given value, clamped between 1 and the deployable's maximum health. Cannot be used to destroy a deployable; use Destroy Deployable for that purpose. Useful for repair mechanics, deployable damage scaling, or resetting deployable condition.
Snippet
Set Deployable Health(Last Created Deployable, 100);
Properties
Returns: Void
Parameters: Deployable, Health
Deployable
Type: Deployable, Default: Null
The deployable whose health will be set.Health
Type: Number, Default: 100
The health value to assign. Clamped between 1 and the deployable's maximum health.