• 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.

How to used this system in GUI?

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,611
  • 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