- Joined
- Aug 19, 2008
- Messages
- 491
Hey dudes! 
I'm making a spell in vJass (though GUI help is helpfull aswell) and I wanna make a Specific Unit Event, but it can be activated with a variable instead.
As far as I know, only pre-placed units can have this event "attached" to him, but I can be wrong, right?
(as and example I'll display my "problem" in gui form
Solved! ok not really since this isn't help zone...
by EpixBelongToMe and Reaper2008
Reapers answer:
Just use:

I'm making a spell in vJass (though GUI help is helpfull aswell) and I wanna make a Specific Unit Event, but it can be activated with a variable instead.
As far as I know, only pre-placed units can have this event "attached" to him, but I can be wrong, right?
(as and example I'll display my "problem" in gui form
-
TriggerOne
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Epic spell of Awesome Doom
-
-

Actions
-


Set MyUnit = (Triggering Unit)
-
-
-
TriggerTwo
-

Events
-


Unit - MyUnit Dies
-
-

Conditions
-

Actions
-


-------- some kind of actions --------
-
-
Solved! ok not really since this isn't help zone...

by EpixBelongToMe and Reaper2008
Reapers answer:
Just use:
-
TriggerOne
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Epic spell of Awesome Doom
-
-

Actions
-


Trigger - Add to TriggerTwo the event ((Casting Unit) Dies)
-
-
-
TriggerTwo
-

Events
-

Conditions
-

Actions
-


-------- Your actions --------
-
-
Last edited:


)
I barley just started with TimerUtils, and I still don't understand what structs are and their purpose.
