ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_SetEntityProductionAvailability

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

On this page
Player_SetEntityProductionAvailability(player, bp, availability)

Description

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

Parameters

  • playerPlayerIDrequired
  • bpEntityBlueprint/Tablerequired
  • availabilityIntegerrequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/player.scar