3l0ckad3 17 Posted October 24, 2016 How do I make the initplayerlocal.sqf wait till the player spawns to run ? I have an intro in it amongst other things and loading in seems to happen at different times for the person and other people of course relating to their machine specs.Any help would be highly appreciated.Cheers :)Edit: How to run this syntax if it is right ? {player == player} or if (Player == player) then { }; Share this post Link to post Share on other sites
Fiddi 68 Posted October 24, 2016 I use this in my mission: waitUntil {alive player}; 1 Share this post Link to post Share on other sites
cuel 25 Posted October 24, 2016 initPlayerLocal assures that the player object exists so he most certainly is spawned. Either do waitUntil {time > 0}; // mission has started Or set a publicVariable on the server and wait for that on the clients 1 Share this post Link to post Share on other sites
3l0ckad3 17 Posted October 24, 2016 Sweeeeet! Thank you both! Spamming you with free virtual beer!What would it be for a dedicated server, or would it be fine ?I make missions for me and my friends, plus my unit in which it would have to work on a dedi environment. Share this post Link to post Share on other sites
Boerstil 8 Posted October 24, 2016 I use this waitUntil {local _unit}; waitUntil {!isNull _unit}; 1 Share this post Link to post Share on other sites