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
weaponSyncWeaponIDrequiredhardpointStringrequiredenableBooleanrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/syncweapons.scar