Hi... im going directly to the thing cause i need to sleep now.
The trigger im having problems is:
*My objective is: I have a orb called "Mage Trans". When a unit uses it, he get removed, and a new hero is created for the owner. In the case of the Mage Trans Item, a Mage is created.
I also tried to make a trigger appointing the ability of the item, but i got problems too. See:
IF you know the problem just tell me, may i fix it. Oh, more easy, if you know how to make the correct trigger, just paste it here! Thanks!
The trigger im having problems is:
Code:
Mage Trans
Events
Unit - A unit Uses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Mage Trans
Actions
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Unit - Create 1 Mage for (Owner of (Casting unit)) at (Center of HeroCome <gen>) facing Default building facing degrees
Unit - Remove (Casting unit) from the game
*My objective is: I have a orb called "Mage Trans". When a unit uses it, he get removed, and a new hero is created for the owner. In the case of the Mage Trans Item, a Mage is created.
I also tried to make a trigger appointing the ability of the item, but i got problems too. See:
Code:
Mage Trans
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mage (item)
Actions
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Unit - Create 1 Mage for (Owner of (Casting unit)) at (Center of HeroCome <gen>) facing Default building facing degrees
Unit - Remove (Casting unit) from the game
IF you know the problem just tell me, may i fix it. Oh, more easy, if you know how to make the correct trigger, just paste it here! Thanks!