I cant seem to find a good way to change a variable value based on a pickup. For example If I use the mineral cart powerup that give 100 minerals, id want a variable to change from 0 to 1 when a unit moves to the powerup. But if the powerup is the energy powerup, id like the variable to be changed to 4.
bah, i just plain missed the 'triggering powerup' or the event. i forget which. After one look i thought it had to be done with validators in the data editor.
Okay after finally getting back to my galaxy editor I discovered why this didnt work for me the first time. The problem lies in the cases. I can not say, "If (powerup)"
It sounds stupid but I cannot select from a list of 'units' without using unit groups, and when this is done for some reason it fails. The initial response from the editor when selecting a value here, are the units that are placed on the terrain. When moving to the function side of options there is still no, "unit type" option.
So alas... I am still stuck.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I cant seem to find a good way to change a variable value based on a pickup. For example If I use the mineral cart powerup that give 100 minerals, id want a variable to change from 0 to 1 when a unit moves to the powerup. But if the powerup is the energy powerup, id like the variable to be changed to 4.
Thanks in advance
simple:
think you get the idea. this trigger will allow loads and loads of different cases
bah, i just plain missed the 'triggering powerup' or the event. i forget which. After one look i thought it had to be done with validators in the data editor.
fail. lol.
thx.
Okay after finally getting back to my galaxy editor I discovered why this didnt work for me the first time. The problem lies in the cases. I can not say, "If (powerup)"
It sounds stupid but I cannot select from a list of 'units' without using unit groups, and when this is done for some reason it fails. The initial response from the editor when selecting a value here, are the units that are placed on the terrain. When moving to the function side of options there is still no, "unit type" option.
So alas... I am still stuck.