HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need Advanced Trigger help

02-17-2003, 09:39 PM#1
Milkman
I'm making a mini-game with 4 players. each player ahs 4 units The game is turn based. Every player has 4 units that can move between 1 and 6 squares depending on how much the dice rolls.

Now my problem is how do you make a unit go sideways or downwasy via a x Y endDest system?

How do you make it so that you dotn have to use an individual trigger for each of the players 4 units, which means 16 triggers

How can you make the unit that the player selects becomes the triggering unit?


Thanks in advance
02-17-2003, 11:39 PM#2
Guest
Quote:
How can you make the unit that the player selects becomes the triggering unit?
That's the easy one. It might be USMWE only, but there is a Unit is Selected event. Use that.

Quote:
How do you make it so that you dotn have to use an individual trigger for each of the players 4 units, which means 16 triggers
I'm assuming that each player has the same 4 units? If that's the case, just have add a boolean condition that Unit = that Unit Type. You WILL need to have multiple events in the same trigger however. Something like:

Unit owned by Player 1 is Issued an Order (or selected or whatever)

Unit owned by Player 1 is Issued an Order (or selected or whatever)

And so on...

Quote:
Now my problem is how do you make a unit go sideways or downwasy via a x Y endDest system?
Now I haven't had a need for this in my map, but I'm guessing you should be able to do this with in a number of ways. Rather than guess, though, I'll let someone else answer it that might have used it in their map.

Quote:
The game is turn based.
I don't know how you are planning this, but I have a suggestion that may make your life easier... Use Pause/Unpause units to create the turns. When it's Player 1's turn, Player 2,3,4 have paused units. When Player 1's turn is over, pause his units and unpause Player 2.
02-17-2003, 11:52 PM#3
Milkman
Actually i just figured out how to do theese things, although not the way you said. But thanks a lot anyways....
02-18-2003, 01:55 PM#4
BoddoZerg
"Unit Is Selected" seems to crash multiplayer games for me? Anyone else get this problem?