Staredit Network

Staredit Network -> UMS Assistance -> Triggers help
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-20 at 02:27:20
Alright, I am making a custom game. It is called 'Tank Wars.' Basically the objective is simple, Force 1 and Force 2 are supplied one Commander (SCV), 4000 hit points. He can not build anything, so he must survive. If the tanks destroy the commander, you lose. Force 1 and Force 2 are also supplied bunches of factorys attached with machine shops. You have no resources or money, because it cost nothing to produce the tanks.

The tanks are already researched with Siege Mode also. So basically you mass to win by pushing with tanks into your opponents base. Cut of his supply factorys, and destroy the Commander. OK, I have some decent triggers already made, but I think I have some errors...

First, when the Commander is finally killed, it says "I failed to achieve victory."
Here is the trigger I have for this happy.gif:

"Players with Triggers:

CONDITIONS:
- Current player commands exactly 0 Commander.
ACTIONS:
- End scenario in defeat for current player.

Something wrong there?

Also, how would I make it to you don't need supply depots?
Report, edit, etc...Posted by chuiu on 2005-03-20 at 02:55:11
I dont see anything wrong. And what do you mean by not needing supply depots? Do you want players to not need to build supply to build units? If that is the case you can just preplace all the supply for them.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-20 at 02:57:59
QUOTE
And what do you mean by not needing supply depots? Do you want players to not need to build supply to build units?


Yeah. I thought there was a trigger to replace the preplaced depots. Thanks though.

Why does it say I failed to achieve victory when I kill the Commander?
Report, edit, etc...Posted by chuiu on 2005-03-20 at 03:02:44
You're not meeting the victory requirements. Have a trigger that says:

C:
Foes commands exactly 0 Commander.
A:
End scenario in Victory for Current Player.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-03-20 at 04:31:21
Thanks a lot! I appreciate it.
Report, edit, etc...Posted by BLISSARD[VdD] on 2005-03-20 at 14:28:24
LoL I know about triggers, but not that much, and the trigger that you talking about are easy. ermm.gif

If you want lose and victory triggers then do like this:
Condition: Player command 0 command center
Action: Defeat for player

and ...
Condition: Current player have exactly 0 opponents
Action: Victory for current player cool1.gif

do this triggers for all players, if you dont want supply depots to waste the space
of the place where you guys fight, then just stack a whole bunch supply depots at corners for each players and set them to invicible(You cannot stack with Campaigneditor).Get it? tongue.gif
Report, edit, etc...Posted by LethaL on 2005-03-20 at 16:51:36
Since you already have your answer, can I post something off-topic?

BLISSARD[VdD], your siggy is way too big. Change it before mods do (There are consequences if mods have to change your sig).
Report, edit, etc...Posted by chuiu on 2005-03-20 at 17:30:07
BLISSARD, I just said that two posts above yours.

LethaL, thats the second time I've had to edit out his sig, this time it was larger than the previous, that didn't make me very happy.

Everyone else still reading, topic locked his problem was solved.
Next Page (1)