HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ahh, what is wrong with this SIMPLE trigger?!

07-27-2003, 05:26 AM#1
Plasma[Blade]
I've been racking my brain on this for a while now and I just simply can't figure out what's wrong with this trigger, any suggestions?

Events
Unit - A unit enters BloodElfTrainer <gen>
Conditions
Actions
Unit - Remove (Triggering Unit) from the game
Unit - Create 1 Blood Elf Trainer for (Picked Player) at (Center of Hero Spawn <gen>) facing Default building facing degrees

See, I want it so that when a Shade steps in to that region, the Blood Elf is created for the player who moved it, and the first while works fine, but then, the Blood Elves don't spawn! And I've been trying to figure this out for a while now... suggestions?

[Edit: Okay, I tried changing it so they'd spawn for Player 1, and it worked, but is there any simpler way to do this? I don't wanna have to write 800 different triggers just to spawn heroes...]
07-27-2003, 05:32 AM#2
Drider
Isn't it supposed to be triggering player...? emote_sweat
07-27-2003, 05:33 AM#3
Newhydra
try owner of entering unit instead of picked player. Also switch the order of the remove and the create.
07-27-2003, 05:33 AM#4
Plasma[Blade]
I tried (Triggering Player) first and it didn't work, so I tried (Picked Player) and it still didn't work, so I don't really have any idea of what I'm doing wrong...
07-27-2003, 05:34 AM#5
STURMguy22
instead of triggering unit use entering unit
07-27-2003, 05:36 AM#6
Drider
No. All you have to do is change picked player to Owner of Triggering Unit.
07-27-2003, 05:37 AM#7
Plasma[Blade]
*hits head on desk*

Thanks, I just tried using Entering Unit and it seems to work :bangH:
07-27-2003, 05:39 AM#8
Drider
My bad, NAM. I forgot it works that way also. *Joins in the head banging on desk*
07-27-2003, 01:44 PM#9
AdmiralQuez
Well since you figured it out..... *bangs head on desk*