HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can't figure out how to create a trigger!

01-20-2003, 01:51 AM#1
Guest
I've decided to post this here because it looked like the most appropriate place to ask it, so here it goes.

I want a trigger that will create a certain amount of guys depending on how many players exist in the game. Example: I want to create 1 footman if there are 1-3 players in the game. I want to create 2 footman if there are 4-7 players in the game. I want to create 3 footman if there are 8-9 players in the game. I've looked all over and studied any possible outcome, but can't find a way to put everything together to create this kind of trigger! I was hoping one of you could help me.

P.S. I'd appreciate it if you could give it to me in the regular trigger format, not the custom text format.
01-20-2003, 03:51 AM#2
Thunder-Hunter
Maybe do a trig where if PLAYER 5 (do this for each player) in game = true

create 1 Wisp at location (hiddin in a corner)
If units in region 1-3 do X
" " 3-5 do X
" " 5-7 do X

Just a thought
01-20-2003, 09:38 PM#3
Guest
Well, it is a great Idea, and I've already thought of something similar to that, but I was hoping to find something that would generalize it, and make it so that I don't have to determine every possible outcome in advance, otherwise it gets really annoying for something like a ten hero siege warfare map.
01-20-2003, 11:34 PM#4
Orzokiki
just do it like Smash TV did.... after 10 seconds it kills the player's unit who didnt choose a hero
01-21-2003, 01:56 PM#5
Guest
LOL! You really thought that trigger question belonged to the "WC3 MOD MAGAZINE" thread? emote_sweat
01-21-2003, 06:52 PM#6
Wizerd
Doesn't matter to me, it's probably not that big of deal.
01-21-2003, 09:48 PM#7
Guest
Well, I would do what Smash TV did, except I'd still have to create any possible outcome. Argeth! Lol. I'm begining to think there isn't an easy way out, maybe I'll just forget the idea. Lol.
01-24-2003, 03:00 AM#8
SCVirus
you 'can't figure out how to create a trigger' and i cant figure out how you could pick the mod magazine forum for a newbie triggering question

Map initilization
create variable blah balh set at (however many players max)


every 30 seconds (or wahtever)(seperate one for each player)
Condition
player (insert here) is not in game
-1 blah blah
action
disable this trigger


Whatevr the hell event
Create Blah blah (thats the number can cahnge the variable to add 2 or more) footmen (or wahtever) in location up your ***.
01-24-2003, 03:37 AM#9
Guest
uhhh there is a trigger to check 'Player Slot Status' ... if thats what you were looking for its under actions somewhere:D
01-24-2003, 08:20 PM#10
DKSlayer
WC3Campaigns Mod Magazine, definitly not the place to ask trigger questions. So I moved it over to the Map Development Forum for you.
Thanks
DKSlayer