Staredit Network

Staredit Network -> UMS Assistance -> hmm is their a way?
Report, edit, etc...Posted by cuinhell(ds) on 2005-03-24 at 20:24:00
is their a way when to human players meet on a map to make them allies for a shot period of time?
if so how?
Report, edit, etc...Posted by Sodium_Chloride on 2005-03-24 at 20:36:02
Use ally and disally action triggers. Use waits or death counts to time the alliance.
Report, edit, etc...Posted by slayer766 on 2005-03-24 at 20:42:02
QUOTE(cuinhell(ds) @ Mar 24 2005, 08:24 PM)
is their a way when to human players meet on a map to make them allies for a shot period of time?
if so how?
[right][snapback]171896[/snapback][/right]



Yes there is and i know the way. Before you create a trigger for this make sure you have a location made out to where you want to have them allied. Here it is:


Trigger
Description:
Player Ally For Short Time
Conditions:
¤ Players you want to have allied. Ex. P1 brings at least 1 men to location 'ally area'
¤ P2 brings at least 1 men to location 'ally area'
Actions:
¤ Set Alliance Status Set Player 1 To Ally
¤ Set Alliance Status Set Player 2 To Ally
¤ Wait xxxxxxxx milliseconds you want them allied
¤ Set Alliance Status Set Player 1 To Enemy
¤ Set Alliance Status Set Player 2 To Enemy


I have not actually done this myself, but this should work. Good Luck smile.gif
Report, edit, etc...Posted by sckor on 2005-03-24 at 21:00:26
remember waits can stack, if you use waits.
Report, edit, etc...Posted by cuinhell(ds) on 2005-03-25 at 19:30:23
ok to get more advanced on the question.

instead of making a location where you want them to meet each other is their a way you can make them allies any where they meet. Or would that be the location Any location?
Report, edit, etc...Posted by in_a_biskit on 2005-03-25 at 21:11:38
If each player has only one unit (or if you want this to work for a hero character), then constantly move a location on top of that unit (or have one for each player), and when other players bring units into that location, make them allies towards each other. When the other player no longer has a unit in the area, make them enemy again.
Report, edit, etc...Posted by Turin on 2005-03-25 at 21:46:29
You could make locations that cover the map (big ones so you dont use up the locations) and say when both players bring units there to ally them. Or at places they will probably meet. If they were already enemies then you could have a trigger that when one player kills one of the other player's units then they ally. It depends on how they meet and how they are before they meet.
Next Page (1)