I've been learning a lot on this new editor, but damn, I feel like I went from map-making guy to complete n00b overnight, lol. I'm trying to create a simple victory trigger where you destroy the opponent's buildings and you win. That's basically it. But under all the events, I'm not seeing anything, and the conditions are confusing the hell out of me (And, Or, Not, etc.). Is there simply an event that's the equivalent to Player Commands 0 Units/Buildings?
That's the thing: I can't see how to make that condition. All I see is stuff like Comparison and And and things like that. I'm not sure how to work those.
That didn't work either. Basically, the action is making the final objective completed. I made an objective, and now when the buildings are destroyed, the last (and only) created objective is complete. That condition posted, for whatever reason, is not triggering that action.
That trigger DOES work. I tested out it by saying it the trigger played, a text message would appear (and it wouldn't stop appearing, so I'm gonna need to use variables to sort that out). So my problem is actually with making sure an OBJECTIVE is checked off, not in the conditions.
I've been learning a lot on this new editor, but damn, I feel like I went from map-making guy to complete n00b overnight, lol. I'm trying to create a simple victory trigger where you destroy the opponent's buildings and you win. That's basically it. But under all the events, I'm not seeing anything, and the conditions are confusing the hell out of me (And, Or, Not, etc.). Is there simply an event that's the equivalent to Player Commands 0 Units/Buildings?
You could do something like:
Event: Any unit dies
conditions: Number of Buildings owned by player in Entire Map == 0
actions: end game for player
To find that condition, you have to do "Number of units in unit group", and then you can change the unit group to units in region.
That's the thing: I can't see how to make that condition. All I see is stuff like Comparison and And and things like that. I'm not sure how to work those.
Double click on the word phrases to change them.
@Sevenation: Go
I wasn't able to get this: Number of Buildings owned by player in Entire Map == 0
I couldn't get anything close to it. The closest I got was Number of Units in Unit Group, but I couldn't get any variation of that to work.
@Frightwolf2005: Go
@Grogian: Go
That didn't work either. Basically, the action is making the final objective completed. I made an objective, and now when the buildings are destroyed, the last (and only) created objective is complete. That condition posted, for whatever reason, is not triggering that action.
@Frightwolf2005: Go
Is it a pre-placed structure?
Ah! I solved one problem, but another comes up.
That trigger DOES work. I tested out it by saying it the trigger played, a text message would appear (and it wouldn't stop appearing, so I'm gonna need to use variables to sort that out). So my problem is actually with making sure an OBJECTIVE is checked off, not in the conditions.
And now I figured out how to do objectives (I used the tutorial on the site and saved my objective in the Global Data type or whatever it's called).
Great, so the triggers y'all gave me did work. Thanks SO MUCH because I was ready to run head first at my screen on this. =P
No problem. :P
I found myself confused as well coming over from the SC1 editor. The wording of conditions are hard to get your head around.