Skip to content

Add Health Pool To Player

Description

Adds a temporary health pool to a Player or Players. This health pool can be referenced using the Last Created Health Pool value. Up to 16 health pools of a given health type (Health, Armor, or Shields) may exist on a player (including base pools and pools granted by abilities).

Snippet

Add Health Pool To Player(Event Player, Armor, 100, true, true);

Properties

Returns: Void Parameters: ==Player==, ==Health Type==, ==Max Health==, ==Recoverable==, ==Reevaluation==

==Player== Type: Player | Array (Player), Default: Event Player The Player or Players whose movement collision is affected.

==Health Type== Type: Health Type | Array (Health of Type), Default: Armor Specifies the type of health (Armor or shields) contained in the Health Pool.

==Max Health== Type: Float, Default: 100 The size of the Health Pool

==Recoverable== Type: Boolean, Default: true Whether health in this pool can be healed once it is lost. If this is value is False, then the Health Pool will shrink and disappear as it is damaged.

==Reevaluation== Type: Boolean, Default: true If True and Recoverable is also True, then Max Health will be reevaluated every frame, if False or Recoverable is False, then Max Health is only evaluated once when this action executes.

Type to search…

↑↓ navigate↵ selectEsc close