nullsystems 0 Posted July 5, 2007 Hi all. Heres the story: 1. Chopper locked from start of MP mission ( from within editor, not by a script ). 2. When objectives1-9 are complete, game logic unlocks a chopper: cond: objective1 && objective2 onAct: heli lock false; hint 'unlocked'; Why does this work for ME, but when other people finnish the objectives, it doesnt unlock for them, but shows the hint..proving its got to the onact section. Share this post Link to post Share on other sites
ManDay 0 Posted July 5, 2007 http://community.bistudio.com/wiki/lock Lock is LOCAL and as the Game-Logic only exists on the server it will only work on the server. /edit To fix this you may either use a normal trigger or you make the command public. But JIP also requires you to repeat that "publication" all the time to unlock the vehicle also for players who join IP: Init.sqf: bool_iHeliUnlocked = false; unlockHeli.sqf: bool_iHeliUnlocked = true; while{ true }do{ publicVariable "bool_iHeliUnlocked"; sleep 10 }; GameLogic-WP: 0 execVM "unlockHeli.sqf"; Trigger (Once): Condition: bool_iHeliUnlocked onActivation: obj_heli1 lock false; Share this post Link to post Share on other sites
nullsystems 0 Posted July 5, 2007 Hmm, nice explanation: **EDIT - SOLVED*** Share this post Link to post Share on other sites
ManDay 0 Posted July 5, 2007 Well. That had to give you an error. Sorry. You shouldnt put "null = " rather write sc_test = ... GameLogic-WP ment... I think what you mean by "my Gamelogic is unlocking it" is that your camelogic vomes over a WP which has "helo1 lock false" in its onactivation line. so instead of ... you put in sc_test = 0 execVM "unlockHeli.sqf"; €: great... i didnt explain what "WP" means - did I? wAYpOINT Share this post Link to post Share on other sites
nullsystems 0 Posted July 5, 2007 lol thank, its working just fine I think. I tested it with one person and he unlocked it Share this post Link to post Share on other sites