- Joined
- Mar 25, 2008
- Messages
- 2,955
ohai
Well it seems i've gotten too dumb to make my spells mui. In the past it worked not using locals (but arrays and stuff). But since i read this tutorial about using locals in gui, i wanted to check it out..
i got this trigger
Well it seems i've gotten too dumb to make my spells mui. In the past it worked not using locals (but arrays and stuff). But since i read this tutorial about using locals in gui, i wanted to check it out..
i got this trigger
- SFX
-
Events
- Unit - A unit starts the effect of an ability
-
Conditions
- Ability being cast is equal to test_sfx
-
Actions
- Custom script: local unit udg_caster
- Custom script: local effect udg_eff
- Custom script: local location udg_temppoint
- Set caster = (Triggering Unit)
- Set temppoint = (Position of (caster))
- Special Effect - Create a special effect at temppoint using flamestrikespawn.mdl (or similar)
- Special Effect - Create a special effect attached to the origin of caster using orboffire.mdl (or similar)
- Custom script: call RemoveLoaction(udg_temppoint)
- Wait 10.00 seconds
- Special Effect - Destroy (last created special effect)