• 🏆 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!

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