Need help with hero orbs

werasd

New Member
Reaction score
14
Hi... im going directly to the thing cause i need to sleep now.

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!
 
S

Sunny_D

Guest
use the first trigger, but there is no unit that is casting something. therefore you should replace "Casting Unit" with "Triggering Unit" or "hero manipulating item"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top