ScarDoc

Start typing to search the SCAR reference.

Function
BP

BP_GetUpgradeBlueprintsWithType

Get a table of all of the Upgrade BPs that match a particular UpgradeType. You can pass in a table of multiple UpgradeTypes to get a list Upgrade BPs that match ANY of the types listed.

On this page
BP_GetUpgradeBlueprintsWithType(types)

Description

If you want a blueprint to match a bunch of UpgradeTypes at the same time (i.e. AND instead of OR) then those types should be listed together in a sub-table. This function can potentially be quite slow as it has to parse every Upgrade BP in the game, so be careful about how you use it.

Parameters

  • typesUpgradeType/Tablerequired

Returns

TableOfUpgradeBPs

Source

Declared in the game's script sources at:

scar/blueprints.scar