
UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Mar 29, 2009 10:17 AM
Msg. 1 of 2
I need a way to make this effect play once and then stop. Right now it plays the effect over an over again. If I add the (sleep) command after, it doesn't play at all. (script continuous death (if (unit_get_current_flashlight_state (unit (list_get (players )0 ) ) ) (effect_new effects\lol\start flag) ) ) Thanks in advance.
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 29, 2009 11:26 AM
Msg. 2 of 2
(script continuous Cloak (begin (sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true)) (effect_new effects\lol\start flag) (sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) false)) (sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true)) (effect_new effects\lol\start flag) ) )
I just modified the cloaking script for this. But it should work.
|