ScarDoc

Start typing to search the SCAR reference.

Function
Modify

Modify_WeaponEnabled

Enables or disables a weapon hardpoint

On this page
Modify_WeaponEnabled(group, hardpoint, enabled)

Description

The hardpoint should be specified as a string - i.e. \"hardpoint_01\"

Parameters

  • groupSGroupID/EGroupIDrequired
  • hardpointStringrequired
  • enabledBooleanrequired

Returns

modids

Source

Declared in the game's script sources at:

scar/modifiers.scar