• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to make item cast starfall?

Status
Not open for further replies.
Level 6
Joined
Apr 24, 2008
Messages
174
to channel starfall?

Well, try making a trigger...
Mabye something like this:

  • Channel Starfall
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to <Your Item>
    • Actions
      • -------- Also, add some Actions that channels starfall here --------
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
I think that you can fix it only with trigger.

  • Item Starfall
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to <Your Item>
    • Actions
      • Player - Enable <Starfall> for (Owner of (Triggering unit))
      • Unit - Add Starfall to (Triggering unit)
      • Unit - Order (Triggering unit) to Night Elf Priestess Of The Moon - Starfall
      • Player - Disable <Starfall> for (Owner of (Triggering unit))
This trigger will make hero channel Starfall and hide it's icon (dummy Starfall won't ''spend'' button position). It works fine for me.
 
Last edited:
You mean cast Starfall? Just change the "Is Hero Ability" to No, and the "Is Item Ability" to Yes. Then add the ability to a item.
It doesn't work like that ....
This trigger will make hero channel Starfall and hide it's icon (dummy Starfall won't ''spend'' button position). It works fine for me.
Don't I have to use a spellbook to hide the icon?
However when the unit stop channelling I will need another trigger to remove the ability from the unit, but I can take care of this myself, after all I have some experience in vJass xD
Nice, thx for the help though.

rep++
 
Status
Not open for further replies.
Top