- Joined
- Sep 8, 2004
- Messages
- 633
Hey people, it's been quite a while since i last asked a question here, yet i once again require your aids.
I've recently added a "restartgame" option to my map, this can be chosen at the end of the game by voting.
To restart the map succesfully, upgrades need to be reset. Here lies a problem.
I've fixed about everything to reset, all variables, units and triggers. Only the upgrades just won't work.
Here's the trigger action i currently use (which doesn't work):
This is only the part for one of ~15 upgrades.
Does anyone know how to fix this? Any way goes, GUI or custom scripts (i can't make the latter myself)
Thanks in advance!
I've recently added a "restartgame" option to my map, this can be chosen at the end of the game by voting.
To restart the map succesfully, upgrades need to be reset. Here lies a problem.
I've fixed about everything to reset, all variables, units and triggers. Only the upgrades just won't work.
Here's the trigger action i currently use (which doesn't work):
Code:
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Player - Set the current research level of |cffc5dbffWeapon Upgrades to 0 for Player[(Integer A)]
Does anyone know how to fix this? Any way goes, GUI or custom scripts (i can't make the latter myself)
Thanks in advance!