Function
EGroup
EGroup_SetInvulnerable
Enable/Disable invulnerablity for an entire entity group. Use true and false for simple on/off, or use a number between 0.0 and 1.0 for more precise control on how much damage an entity can take before it takes no more.
On this page
EGroup_SetInvulnerable(egroup, enabled, reset_time)Description
The optional reset_time is used to automatically remove invulnerability after a set time. If invulnerable, health damage is disabled.
Parameters
egroupEGroupIDrequiredenabledBooleanrequiredreset_timeFloatoptional
Returns
VoidSource
Declared in the game's script sources at:
scar/groups.scar