ScarDoc

Start typing to search the SCAR reference.

Function
SGroup

SGroup_SetAutoTargetting

Sets whether a weapon will auto-target things or not

On this page
SGroup_SetAutoTargetting(group, hardpoint, enable)

Description

Sets whether a weapon will auto-target things or not

Parameters

  • groupSGroupIDrequired
  • hardpointString/Intrequired
  • enableBooleanrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar