Damage Executor¶
This Damage Executor community component enables an object to decrease the player's health points (HP) when triggered. Attach this component to an object in the scene to have such an effect. This component includes:
Property | Description |
---|---|
Amount | A numeric value that controls the AI NPC's power to decrease players' HP |
Target | Defines the target for the triggered damage. You can enable the target of a trigger event to take the damage by selecting From event or a target in the scene to take the damage by selecting Selected. |
Event name | Specifies the trigger event name. For example, it can be entered as registered in the AiGameEventRelay component. This field is only visible when the Condition is set to Event. |
Entity | Specifies an entity in the scene that take the HP damage. To enable health points (HP) on an entity, find and add the Damageable Component by clicking Add Component in Advanced Mode. This field is only available when the Target is set to Selected. |