FCBP_CPLifecycle
Health, damage and team-based damage rules. Passed with .lifecycle(...).
Setters
| Setter | Effect |
|---|---|
maxLife(float) |
Starting and maximum health (health points, no unit conversion). Default 100. |
damage(float) |
Damage dealt by a melee hit (health points). Default 5. |
blockArmor(float) |
Damage subtracted from an incoming hit, but only while the entity is actively blocking (block state machine in BLOCKING). Otherwise armor is 0. Default 3. |
damageOn(TArray<ETeamAttitude::Type>) |
The team attitudes this entity is allowed to attack: a melee hit only lands on an actor whose team attitude is in this list. Default {Neutral, Hostile}. An empty list = can hit no one. |
turnByTurnAttack(bool) |
Routes the entity to turn-by-turn combat instead of live combat (used for the player). Default false. |
The hooks onDeathSkill, onCauseDamageSkill, onReceiveDamageSkill are skills,
documented in the Skills section.