HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Heroes spawn with items

07-07-2004, 06:29 AM#1
Sawse
How will i set up a trigger that will cause heroes to start with a certain item?
07-07-2004, 06:46 AM#2
Das Jank
Event - A unit enter region (entire map)
Condition - Entering unit equal to Your Hero
Action - Creat Item and give it to entering unit.
07-07-2004, 07:43 AM#3
Miningjrk
If you wanted it to be on hero creation you could just do:
Event- A unit is created for player (variable) //I'm not sure about this\\
Condition- Unit type is hero = true
Action- Create (item) and give it to triggering unit

Note: these are not exact triggers as you may or may not have noticed.

Note: the other post indicates that each time the unit enters the region it creates and gives the item. To fix this you should use the type of trigger i suggested so that u only need one trigger.
07-07-2004, 04:49 PM#4
Das Jank
Mine works perfectly and im sorry but there is no "A unit is created for player", you just basicly posted the same trigger as mine. And if you only want it to run once you can just put a "Action - Turn off this trigger" at the end of it all.
07-09-2004, 10:01 AM#5
Miningjrk
Yes, use his trigger.

yea sorry, it was late....I forgot you cant enter the map twice :\