Function
EGroup
EGroup_IsUnderAttackFromDirection
Returns true if ALL or ANY entities are under attack from a direction within the time. see ScarUtil.scar for types of directions. you can pass in a table of offsets
On this page
EGroup_IsUnderAttackFromDirection(egroup, all, offset, time)Description
Returns true if ALL or ANY entities are under attack from a direction within the time. see ScarUtil.scar for types of directions. you can pass in a table of offsets
Parameters
egroupEGroupIDrequiredallBooleanrequiredoffsetInteger/TablerequiredtimeFloatrequired
Returns
BooleanSource
Declared in the game's script sources at:
scar/groups.scar