| 06-21-2004, 02:11 AM | #1 |
Ok, I'm using a dialog menu to create a unit, and I need an item to spawn on him right when he is created or at least spawn next to him, but i prefer on him, I also need a trigger to whenever he respawns from death, he has the item. Thanks |
| 06-21-2004, 02:40 AM | #2 |
Ok, I'm using a dialog menu to create a unit, and I need an item to spawn on him right when he is created or at least spawn next to him, but i prefer on him, I also need a trigger to whenever he respawns from death, he has the item. As far as I know you cant create an Item right now a hero, but you can create it and give it to him. You would put this right after you create him. I dont know how you are reviving him but you would use the same 2 actions in that trigger as well. You will need to sub in the appropriate event response or variable where I have HERO Code:
Item - Create Crown of Kings +5 at (Position of (HERO))
Hero - Give (Last created item) to (HERO) |
| 06-21-2004, 03:29 AM | #3 |
you wrong, you can craete items on heroes directly hero-Create item for hero o_O anyway both works |
| 06-21-2004, 03:45 AM | #4 |
And if you were so bold you'd note thats exactly what the blizzard.j function does why don't they use the native to create the item directly for the hero at a slot of choice? Because blizzard is stupid! |
