ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_IsUnderAttackByPlayer

Check if the entities are attacked by the player

On this page
EGroup_IsUnderAttackByPlayer(group, attackerplayer, duration)

Description

Check if the entities are attacked by the player

Parameters

  • groupEGroupIDrequired
  • attackerplayerPlayerIDrequired
  • durationFloatrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/groups.scar