I have just reasently started messing around with the editor. And I am now working on a maul type map. And I cant figure out how to not start spawning for player X if that player isn't playing. So for example if we are 3players playing and there are 4 different spawns. I don't want annything to spawn in the spawningarea for player 4. But I still want to have the spawning for player 1-3.
I searched the forum for a topic regarding this matter but couldn't find anything.
Spawning trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Unit - Create 1 Unit for player X at Point using default facing (No Options)
Bone's solution is probs better, depends on what you want to do :)
Spawning trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Unit - Create 1 Unit for player X at Point using default facing (No Options)
Bone's solution is probs better, depends on what you want to do :)
Thx for the quick respons guys. I'll try it and will hopefully get it right ;)
I think my description of what i wanted to do was wrong... So I'll try to do better this time ;D
So what ive got is a map with 4 spawningpoints named spawn1-4. And I have player 10 as hostile spawning creeps in the 4 spawning areas. And what I want to do is disable spawning of creeps for player 10 in spawn 2 if player 2 is not playing and the same for palyers 3 and 4 if they are absent. But atleast now I know how to not spawn builders for players 2-4 :)
Hopefully my intentions are allot better in this post... If it would help i could upload the map somewhere. My triggers might be crappy.
I have just reasently started messing around with the editor. And I am now working on a maul type map. And I cant figure out how to not start spawning for player X if that player isn't playing. So for example if we are 3players playing and there are 4 different spawns. I don't want annything to spawn in the spawningarea for player 4. But I still want to have the spawning for player 1-3.
I searched the forum for a topic regarding this matter but couldn't find anything.
Sorry for the bad english.... best regards nookan
@nookan: Go
there are player conditions, one of them is player is playing
@nookan: Go
I might add that you are quite lucky to have b0ne123 respond to your post, Also he is dead correct.
something like this
Spawning trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Unit - Create 1 Unit for player X at Point using default facing (No Options)
Bone's solution is probs better, depends on what you want to do :)
Thx for the quick respons guys. I'll try it and will hopefully get it right ;)
cheers!
No problems, you can pm me if you need some help
I think my description of what i wanted to do was wrong... So I'll try to do better this time ;D
So what ive got is a map with 4 spawningpoints named spawn1-4. And I have player 10 as hostile spawning creeps in the 4 spawning areas. And what I want to do is disable spawning of creeps for player 10 in spawn 2 if player 2 is not playing and the same for palyers 3 and 4 if they are absent. But atleast now I know how to not spawn builders for players 2-4 :)
Hopefully my intentions are allot better in this post... If it would help i could upload the map somewhere. My triggers might be crappy.
Thx allot nookan
@nookan: Go
in your triggers for spawning the units for each spawn, simply put a
condition if status of player (number) is playing
if the player inst playing that it will return false and the trigger wont be carried out
Awesome, that worked like a charm. thx