ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_IsUnderAttackByPlayer

Check if the squads are attacked by the player

On this page
SGroup_IsUnderAttackByPlayer(group, attackerplayer, duration)

Description

Check if the squads are attacked by the player

Parameters

  • groupSGroupIDrequired
  • attackerplayerPlayerIDrequired
  • durationFloatrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/groups.scar