SHMadPup 1 Posted February 1, 2012 This is frustrating the crap out of me. I'm making a single player mission and when you begin, I have the main player executing an "init.sqs". Now in this script, I have this: ?(player == airman) : airmancash = airman addaction["Show my cash!","airman_cash.sqs"] ?(player == airman) : airmanhung = airman addaction["Hunger Level","checkhung.sqs"] ?(player == airman) : airmangroc = airman addaction["Groccery Level","checkgroc.sqs"] I get those three actions when the game starts, but I get two of each. :mad::confused: Whats going wrong???? THANKS in advance -SHMadPup Share this post Link to post Share on other sites
nikiller 18 Posted February 1, 2012 (edited) hi, If your script is named init.sqs you don't need to execute it. It will be executed automaticly by the engine. More info here: http://community.bistudio.com/wiki/Init.sqs and http://community.bistudio.com/wiki/Event_Scripts If you execute the init.sqs it will be executed 2 times. One time by [] exec "init.sqs" and one time by the game engine. I guess that why you have your actions 2 times. 2 solutions: - delete the execution line [] exec "init.sqs" - or change the init.sqs name by another one like init_action.sqs cya. Nikiller. Edited February 1, 2012 by Nikiller Share this post Link to post Share on other sites
SHMadPup 1 Posted February 1, 2012 Oh..... well that would do it.... haha Thank you Nikiller. -SHMadPup Share this post Link to post Share on other sites
SHMadPup 1 Posted February 1, 2012 (edited) :couch: Edited February 2, 2012 by SHMadPup Share this post Link to post Share on other sites