• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Elune's Arrow on Triggers

Status
Not open for further replies.
Level 2
Joined
Dec 23, 2007
Messages
10
I want to make spell elune's arrow from Dota but with triggers not JASS.
( I knew it's possible :p).
Somewhere on forum is similar spell with rabbit but i can't find it.

Plz Help me Guys :). :grin::grin::grin:
 
This is not MUI nor MPI... you need to change it.
  • Elune's Arrow
    • Event - A Unit Start The Effect Of An Ability
  • Conditions
    • Ability being caster equal to Elune's Arrow
  • Actions
    • Set loc1 = Position of (Triggering Unit)
    • Set loc2 = loc1 offset by 10 towards facing of (Triggering Unit)
    • Unit - Create 1 Elune's Arrow for GetOwningPlayer(Triggering Unit) at loc 2 facing facing of (Triggering Unit)
    • Trigger - Custom Script: call RemoveLocation(udg_loc1)
    • Trigger - Custom Script: call RemoveLocation(udg_loc2)
    • Set missle = LastCreatedUnit
    • Trigger - Turn On (Arrow Move)
    • Wait 3.00 seconds
    • Trigger - Turn Off (Arrow Move)
  • Arrow Move
    • Event - Every 0.02 seconds of Game Time
  • Conditions
    • Missle not equal to No Unit
  • Actions
    • Set point1 = Position of (missle)
    • Set point2 = missle offset by 10 towards facing of (missle)
    • Unit - Move (missle) to point2 facing default facing angle
    • Set Group = Units in range of (120) at point2 matching equal Is Unit Enemy of GetOwningPlayer(missle)
    • If (Group) not equal to Empty then
      • Set hit = Random Unit of Unit Group (Group)
      • Unit - Order (missle) to storm bolt[Custom Ability] (hit)
      • Unit - Kill (missle)
      • Set hit = No Unit
      • Set missle = No Unit
      • Trigger - Custom Script: call RemoveLocation(udg_point1)
      • Else
    • Trigger - Custom Script: call RemoveLocation(udg_point1)
    • Trigger - Custom Script: DestroyGroup(Group)
 
Last edited:
Level 11
Joined
Dec 31, 2007
Messages
780
nop it will never ever end... btw... isnt it better for the missile to cast the skill? you save 1 dummy unit


Btw... they talk of dota as if it is the best thing that happened to warcraft... and most of the abilities were so simple for so long :/
 
Last edited:
Status
Not open for further replies.
Top