• 🏆 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 used this system in GUI?

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,597
  • Trigger
    • Events
      • Unit - Unit starts effect of an ability
    • Conditions
    • Actions
      • Custom script: local Fear F
      • Set UnitVar = (Targeted Unit of ability being cast)
      • Custom script: set F = Fear.create()
      • Custom script: set F.targ = udg_UnitVar
      • Custom script: set F.path = "Abilities\\Spells\\Undead\\Curse\\CurseTarget.mdl"
      • Custom script: set F.attach = "overhead"
      • Custom script: set F.time = 10.0
      • Custom script: call F.start()
      • Custom script: call F.destroy()
 
Level 17
Joined
Dec 11, 2014
Messages
2,004
  • Trigger
    • Events
      • Unit - Unit starts effect of an ability
    • Conditions
    • Actions
      • Custom script: local Fear F
      • Set UnitVar = (Targeted Unit of ability being cast)
      • Custom script: set F = Fear.create()
      • Custom script: set F.targ = udg_UnitVar
      • Custom script: set F.path = "Abilities\\Spells\\Undead\\Curse\\CurseTarget.mdl"
      • Custom script: set F.attach = "overhead"
      • Custom script: set F.time = 10.0
      • Custom script: call F.start()
      • Custom script: call F.destroy()

That requires JNGP (at least JASShelper).
 
Status
Not open for further replies.
Top