ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_SetUpgradeAvailability

Sets the availability of an upgrade. Availability can be either ITEM_LOCKED, ITEM_UNLOCKED, ITEM_REMOVED or ITEM_DEFAULT

On this page
Player_SetUpgradeAvailability(player, bp, availability)

Description

Sets the availability of an upgrade. Availability can be either ITEM_LOCKED, ITEM_UNLOCKED, ITEM_REMOVED or ITEM_DEFAULT

Parameters

  • playerPlayerIDrequired
  • bpUpgradeBlueprint/Tablerequired
  • availabilityIntegerrequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/player.scar