
Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Jan 25, 2011 07:53 AM
Msg. 2 of 4
My guess is that it needs to be this:
(if (= points 5) true)
Try that
|

Noobyourmom
Joined: Mar 23, 2010
|
Posted: Jan 25, 2011 12:32 PM
Msg. 4 of 4
Halo script isn't like normal coding. Since there's no END IF, the thing you want to happen is part of the if statement. So it should be (if (= points 5)(show_hud_help_text true)). And you would need an if statement for every action you want to happen. However, an if statement is evaluated immediately, and then passed over for the rest of the script. So with this script, at the startup it would check the if statements, see that they're false, and complete the script forever. I believe you probably want to use the command sleep_until. ie:
(sleep_until (= points 5) 15) ; 15 is the number for how often it checks if the condition is true (show_hud_help_text true) (hud_set_help_text s1) (sleep 90) (show_hud_help_text false)
Is that clear enough?
|