Function
Modify
Modify_EntityCost
Modifies the cost of an entity for a particular player.
On this page
Modify_EntityCost(player, blueprint, resourcetype, addition)Description
Modifies the cost of an entity for a particular player.
Parameters
playerPlayerIDrequiredblueprintStringrequiredresourcetypeIntegerrequiredadditionIntegerrequired
Returns
modidsmodids or nil if the modifier could not be appliedSource
Declared in the game's script sources at:
scar/modifiers.scar