
The_Arbiter
Joined: Aug 23, 2011
I feel like having scotch
|
Posted: Sep 13, 2011 02:45 AM
Msg. 1 of 6
i am trying to make a camo thats activated with flash light but i cant seem to make the script help me please
|
|
|

The_Arbiter
Joined: Aug 23, 2011
I feel like having scotch
|
Posted: Sep 13, 2011 05:56 AM
Msg. 2 of 6
no i dont mean that i was thinking camo press q and you go camo then it times out and you have to wait for it to recharge
|
|
|

Bobblehob
Joined: Aug 29, 2010
|
Posted: Sep 16, 2011 12:26 PM
Msg. 3 of 6
Quote: --- Original message by: wafflesi have what you speak of. http://www.youtube.com/watch?v=QZUbGmf-QUU flashlight button activates the effect which drops active camo inside the body marker. flashlight function immediately turns off after 1 single press, to prevent 500 camo's spewing from the bipeds stomach :P. i however dont know how to turn off camo once its on. Would it be possible to "turn it off" with a damage effect? I.e. you press the flashlight button again and it spawns an effect that doesn't damage the player, but has the effect of negating the camo? I don't know if it would work or not, but It seems like it would :P
|
|
|

SlappyThePirate
Joined: Aug 24, 2009
You are irritating, I'll release nothing
|
Posted: Sep 16, 2011 03:29 PM
Msg. 4 of 6
Quote: --- Original message by: lolgrunts(script continuous camo (if (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) 1) (begin (object_create camopowerup) (objects_attach (unit (list_get (players) 0)) "" camopowerup "") (objects_detach (unit (list_get (players) 0)) camopowerup) (sleep 300) (unit_set_desired_flashlight_state (unit (list_get (players) 0)) 0) ) ) ) Edited by lolgrunts on Sep 16, 2011 at 03:14 PM ftfy
|
|
|

Pepzee
Joined: Sep 9, 2010
Retired Halo Modder
|
Posted: Sep 16, 2011 09:20 PM
Msg. 5 of 6
This is how I do it: (script continuous Cloak (sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) true)) (object_create cloak) (objects_attach (unit (list_get (players) 0)) "" cloak "") (objects_detach (unit (list_get (players) 0)) cloak) (sleep 1000) (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)) (object_create cloak) (objects_attach (unit (list_get (players) 0)) "" cloak "") (objects_detach (unit (list_get (players) 0)) cloak) (sleep 1000) (sleep_until (= (unit_get_current_flashlight_state (unit (list_get (players) 0))) false))) Adjust the sleep time to include the amount of time for the cloak to run, plus the sleep time itself. *Note: Create a powerup on the map called "cloak" without the quotes. Also note, that you have to wait for the cloak to wear off before you can reuse it again, as far as I know you can not turn off the cloak while it is in use. Edited by Pepzee on Sep 16, 2011 at 09:24 PM
|
|
|

Pepzee
Joined: Sep 9, 2010
Retired Halo Modder
|
Posted: Sep 16, 2011 09:40 PM
Msg. 6 of 6
I just tested some stuff. lolgrunts way works too. I just posted a different version which works also. Edited by Pepzee on Sep 16, 2011 at 09:48 PM
|
|
|