Staredit Network

Staredit Network -> UMS Assistance -> Trigger Help
Report, edit, etc...Posted by S)T-Twitch6000 on 2006-11-04 at 12:06:06
I am working on a defence map and well it's my second one so i am not so good at them yet.So my main point is if you only have 3 people in a 5 player defence game how do get the others to not start.Like lets say in bound and defence 2 how if u dont have a full house only the people who are there have to bound and defend I need a stater something like that.So someone HELP!!!!!!!!!!!!!!!!!!!!! helpsmilie.gif
Report, edit, etc...Posted by JaFF on 2006-11-04 at 12:11:30
QUOTE(S)T-Twitch6000 @ Nov 4 2006, 08:06 PM)
if you only have 3 people in a 5 player defence game how do get the others to not start.

You mean how to make the triggers for the players that are not in game not work?
Report, edit, etc...Posted by fritfrat(U) on 2006-11-04 at 12:15:16
Have the triggers to create player 1's enemies be run by player 1, player 2's enemies run by player 2, etc. This way, if players are not present, they will not be able to run the trigger to create the enemies.

There are tons of ways to go about doing what you want to do; this is just one of the most common.
Report, edit, etc...Posted by S)T-Twitch6000 on 2006-11-04 at 12:49:37
QUOTE(Jamatul_101 @ Nov 4 2006, 12:11 PM)
You mean how to make the triggers for the players that are not in game not work?
[right][snapback]583188[/snapback][/right]

yes!!!!!!!!!!!!!

ADDITION:
QUOTE(fritfrat(U) @ Nov 4 2006, 12:15 PM)
Have the triggers to create player 1's enemies be run by player 1, player 2's enemies run by player 2, etc. This way, if players are not present, they will not be able to run the trigger to create the enemies.

There are tons of ways to go about doing what you want to do; this is just one of the most common.
[right][snapback]583191[/snapback][/right]

How to make it like in a timer or start way like when time or start trigger sets it goes for only plsyers there?Again as i said before like in bound and defence 2

ADDITION:
QUOTE(fritfrat(U) @ Nov 4 2006, 12:15 PM)
Have the triggers to create player 1's enemies be run by player 1, player 2's enemies run by player 2, etc. This way, if players are not present, they will not be able to run the trigger to create the enemies.

There are tons of ways to go about doing what you want to do; this is just one of the most common.
[right][snapback]583191[/snapback][/right]

How to make it like in a timer or start way like when time or start trigger sets it goes for only plsyers there?Again as i said before like in bound and defence 2

ADDITION:
QUOTE(fritfrat(U) @ Nov 4 2006, 12:15 PM)
Have the triggers to create player 1's enemies be run by player 1, player 2's enemies run by player 2, etc. This way, if players are not present, they will not be able to run the trigger to create the enemies.

There are tons of ways to go about doing what you want to do; this is just one of the most common.
[right][snapback]583191[/snapback][/right]

How to make it like in a timer or start way like when time or start trigger sets it goes for only plsyers there?Again as i said before like in bound and defence 2
Report, edit, etc...Posted by Ichi on 2006-11-04 at 13:04:54
Make the level triggers under each human player.
Report, edit, etc...Posted by Mp)Blu on 2006-11-04 at 13:09:53
U could make a timer using units of some sort. maybe air units. each unit=5 seconds or so. The units would have to be for that player so that u can run seperate triggers for different units. The unit timer will allow u to have seperate timers. happy.gif
Report, edit, etc...Posted by Tuxedo Templar on 2006-11-04 at 19:59:55
If you want to do stuff only for players in the game without having to make those players own the triggers personally (though that would be the recommended way), just apply the target player of your trigger actions as the players' force instead. Instead of 'Create 1 unit' for each individual human, instead use 'Create 1 unit' for the whole human force (which is the same as multiple 'Create unit' actions for each player, except it ignores ones that aren't player).
Report, edit, etc...Posted by Shocko on 2006-11-04 at 20:33:21
you could center on a unit for p1 create unit
center on a unit for p2 create unit etc....

but then you have units that will be created at the middle of the map so you would have to fix that simple flaw in which there is several ways around it.
Report, edit, etc...Posted by S)T-Twitch6000 on 2006-11-06 at 14:24:35
Ok i have seen the light lol jk but i have seen a few triggers that i like and i will try some i no one will have to work i no it smile.gif so thank you all and blah blah blah
Report, edit, etc...Posted by green_meklar on 2006-11-07 at 11:25:24
The simplest way to do this is just to have each group of defense monsters spawn under the player who's supposed to be defending against them. So instead of

Affects:
[computer]
Conditions:
Always
Actions:
Create 1 dropship for current player at human 1 defense
Create 1 dropship for current player at human 2 defense
Create 1 dropship for current player at human 3 defense
Create 1 dropship for current player at human 4 defense
Create 1 dropship for current player at human 5 defense
Create 1 dropship for current player at human 6 defense
Create 1 dropship for current player at human 7 defense


you make

Affects:
[human 1]
Conditions:
Always
Actions:
Create 1 dropship for [computer] at human 1 defense


and repeat for every human player, changing both the affected player and the spawn location for each trigger.

However, there are other ways of doing it. For example, you could have it spawn attacking units for every human player that has a unit of a certain type, which would still require one trigger for every human player but they would all be under the computer's trigger list. Or you could have one trigger that spawns units everywhere and other ones that delete them if the human players don't have certain units. At any rate, it's not a hard thing to do.
Report, edit, etc...Posted by S)T-Twitch6000 on 2006-11-07 at 12:15:55
People People i have learnt one that is easy enough for me and simple for me so please one of the gm ppl or high ranked ppl come and say it is solved mad.gif
Next Page (1)