We're having some issues with getting some functions to work. the 2 commands are:
Cmd_PlayerUpgrade( PlayerID playerid, UpgradeID upgradeid[, Integer count] )
Cmd_InstantPlayerUpgrade( PlayerID playerid, UpgradeID upgradeid[, Integer count] )
the 'instant' command is a singleplayer command that is flagged as a cheat function in multiplayer games and is therefore blocked.
however, simply switching to the command to the 'non-instant' version breaks the command. we can see it is still processing, we have prints after each command which are all showing up, but the upgrades arn't being given.
what do we need to change to make the upgrades be given if the instant part is removed?
we're trying to give the player tiering upgrades and unit lockout upgrades that change what units are available to build at the HQ, so its kind of critical this works