ScarDoc

Start typing to search the SCAR reference.

Function
SyncWeapon

SyncWeapon_SetAutoTargetting

Sets whether a weapon to auto-target things or not

On this page
SyncWeapon_SetAutoTargetting(weapon, hardpoint, enable)

Description

Sets whether a weapon to auto-target things or not

Parameters

  • weaponSyncWeaponIDrequired
  • hardpointStringrequired
  • enableBooleanrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/syncweapons.scar