Staredit Network

Staredit Network -> UMS Assistance -> Trigger Help!
Report, edit, etc...Posted by S)T-Twitch6000 on 2007-01-10 at 21:35:56
Well my current map is like not getting even the way it is but i have an idea about changing the terrian so all players will be a team.But if so my starter wont work if player 1 leaves or something.So is there anyway to make a back up person just in case?The only way i have thought of if player 1 dies set switch 1 and if switch 1 is set create whatever unit for player 2 here then blah blah blah but i think i will have problems.So help me with a full trigger idea please.
Report, edit, etc...Posted by LazyCoder on 2007-01-10 at 22:00:42
Have a switch called "create for player" or something to that effect, and if player 1 is around to create the units (set the switch in the unit creation trigger) none of the other ones will fire because they have conditions that say ' if "create for player" is cleared', Then, in the last trigger to fire, have it clear the switch again.
Report, edit, etc...Posted by SleepiB on 2007-01-10 at 22:08:13
I have used a roll call system in a few maps, the very first triggers execute for each human player and set a switch called p1 roll call, or whatever

(you can conditions if you want people to be able to obs the game after they die)
then the last trigger that runs is for either a computer or all players, and clears all roll call switches. any triggers in between will have real time access to whether a layer is in the game or not.

or, you can give all the players in the game a selector, and require 2 to start the level.
Report, edit, etc...Posted by S)T-Twitch6000 on 2007-01-10 at 22:30:16
Well I thought of one way i just need to no if it works have your normal level triggers like if plaer 1 brings here clear unit and create here and blah blah but with a cleared switch.Now if player 1 commands 0 units set switch1 and then do player 2 the same way but with switch 2 set in condtions would this work?
Report, edit, etc...Posted by SleepiB on 2007-01-10 at 22:43:08
you just need to make sure whatever method you implement will function no matter when the player leaves.
Report, edit, etc...Posted by Falkoner on 2007-01-10 at 23:39:09
Have a building or something somewhere and say if P1 doesn't bring any of that building there, give it to another player.
Report, edit, etc...Posted by S)T-Twitch6000 on 2007-01-11 at 02:17:44
QUOTE(Falkoner @ Jan 10 2007, 11:39 PM)
Have a building or something somewhere and say if P1 doesn't bring any of that building there, give it to another player.
[right][snapback]612284[/snapback][/right]

well i found what i thought of first with a few other things work so thanks
Next Page (1)