ScarDoc

Start typing to search the SCAR reference.

Function
Modify

Modify_UpgradeBuildTime

Modifies the build time for a particular upgrade. This only affects the given player.

On this page
Modify_UpgradeBuildTime(playerId, upgrade, scalefactor)

Description

Modifies the build time for a particular upgrade. This only affects the given player.

Parameters

  • playerIdPlayerIDrequired
  • upgradeUpgradeIDrequired
  • scalefactorRealrequired

Returns

modids

Source

Declared in the game's script sources at:

scar/modifiers.scar