Warcraft III resources & community, 2003–2006 · archived

i need help with starting out on a map

11 posts
#1

i need help with starting out on a map

i want it to be so that when the map starts players that arent there wont have their starting units. so if the slot is left open when you are hosting a game and no player is in that slot when the game starts that that player wont have starting units. (two towers, a barracks, and hero building wisp). also i have a problem that when a barracks dies the units wont stop spawning. i fixed this but it might just keep spawning after the building dissapears. i dont know. just please help me.
#2
Event:
Time Elapsed = 0.01
Conditions
None, If statements will be used.
Actions
Player Group - Pick all players and do multiple actions.
-Loop
--If (player slot status comparison between picked player and unused)
--Then
---Unit group: Pick all units owned by matching player and do multiple actions:
----Unit-Remove: Remove picked unit.
--Else
---None

Try this, if you can understand it.
#3
Öhm, the starting units are creating in the standard map init triggers, simply remove this trigger here:

Melee Game - Create starting units (for all players)
#4
AlphaChicken wins the award for straight-out asking how to write the most triggers for the same map.
#5
lol :oops: :P sorry if im getting annoying. i just suck with the trigger editor and just need to get the basic triggers. once i know them i start messing around and expirimenting. but i need to know where to start. If im getting annoying and you dont want to help anymore just tell me.
#6
thats not what i mean. i placed a barracks two towers and a wisp that can make altars. i want it so that these are removed at the start of the map iof that player isnt playing.
#7
So do what JPedid said - that should work.

EDIT: And don't worry about asking questions. In fact, I admire you for asking without being embarrased. You are helping to liven up the forum.
#8
Yap, it should work with that trigger

Hm, just wondering. As long as a player is not playing, WE shouldn't create starting units (I think this is so when you used fixed player settings). Or am I wrong? (Could be, I'm tired so I don't know what I'm writing :lol: )
#9
i did use fixed player settings
would that be it?
#10
Hm, if you used it...argh, I don't know, I'm to tired atm.
#11
Yah, you must be really tired. Fixed Player Settings only sets the players to always be the same.