I'm making a custom map and I'm trying to figure out 2 triggers I can't figure out how to do,
the first one is that I want it to delete all techs of a player, so if he had teched +1 for his zealots then when the trigger fired he would loose the uppgrade and have to reasearch for it again. Is this even possible? if so where can I read how to do it? I'm not even sure what the propper wording of such trigger is so I was unable to find it in the tutorial section.
The other question I have is, is it possible to delete all unites of a given type from the map with a trigger og by a given player?
so that I can trigger this and then blow upp player 3's base and unit and then use another (I have figured out how to do this) trigger to create him a new command center/nexus/hatchery at another given location.
So would these things be possible to do with Galaxy editor?
Should be easily doable. The triggers are quite self-explanatory in this case as well, so you do not need a tutorial desperately. Just search the trigger actions and try out a bit. There are things like Set upgrade level for player (you need to set specific upgrades here, though; so you would need to reset every single upgrade possible in your map) and Pick every unit of Player and do (actions), and in the actions you make something like Kill picked unit.
Sounds quite easy, doesn't it? I am sure you can find these actions yourself ;)
Thanks, yeah Set Uppgrade level, okay well that sounds easy :)
And for the other question, heh okay I see that it was even easier than the first one:D
Thanks a lot for your help Kueken:D
I noticed now that I forgot to ask the mineral question of my title, but I'm guessing I can use triggers to make an action to delete the Minerals Fields in an region and then another one to create Mineral feilds at a location, just as I would spawn a structure or unit at a location?
Hello!
I'm making a custom map and I'm trying to figure out 2 triggers I can't figure out how to do, the first one is that I want it to delete all techs of a player, so if he had teched +1 for his zealots then when the trigger fired he would loose the uppgrade and have to reasearch for it again. Is this even possible? if so where can I read how to do it? I'm not even sure what the propper wording of such trigger is so I was unable to find it in the tutorial section.
The other question I have is, is it possible to delete all unites of a given type from the map with a trigger og by a given player? so that I can trigger this and then blow upp player 3's base and unit and then use another (I have figured out how to do this) trigger to create him a new command center/nexus/hatchery at another given location.
So would these things be possible to do with Galaxy editor?
Should be easily doable. The triggers are quite self-explanatory in this case as well, so you do not need a tutorial desperately. Just search the trigger actions and try out a bit. There are things like Set upgrade level for player (you need to set specific upgrades here, though; so you would need to reset every single upgrade possible in your map) and Pick every unit of Player and do (actions), and in the actions you make something like Kill picked unit.
Sounds quite easy, doesn't it? I am sure you can find these actions yourself ;)
Thanks, yeah Set Uppgrade level, okay well that sounds easy :) And for the other question, heh okay I see that it was even easier than the first one:D Thanks a lot for your help Kueken:D
I noticed now that I forgot to ask the mineral question of my title, but I'm guessing I can use triggers to make an action to delete the Minerals Fields in an region and then another one to create Mineral feilds at a location, just as I would spawn a structure or unit at a location?
Yeah, I guess. Maybe there is even some kind of refill function? Dunno :p
Mineral fields are indeed units, so you should be able to create them just like any other unit.
okay cool well then I'm just gonna experiment with the triggers for a while and see if I can get it to work:D Thanks a lot for your help!