ScarDoc

Start typing to search the SCAR reference.

Function
SyncWeapon

SyncWeapon_CanAttackNow

Checks whether a sync weapon can attack a target without moving or turning.

On this page
SyncWeapon_CanAttackNow(weapon, target)

Description

Checks whether a sync weapon can attack a target without moving or turning.

Parameters

  • weaponSyncWeaponIDrequired
  • targetegroup/sgroup/pos/markerrequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/syncweapons.scar