Royal Eagles 1 Posted May 23, 2017 Hello everybody, My probleme is this: When I started the mission I can use Zeus, but when I respawn zeus no work .... Ater searches, the problem comes from this part of script that is in the init.sqf Quote // NAMING PLAYER (NECESSARY FOR SOME SCRIPT EXECUTION) if (!isDedicated) then { private ["_playerID"]; _playerID = format ["player_%1", round (random 1000)]; player setVehicleVarName _playerID; missionNamespace setVariable [_playerID, player]; publicVariable _playerID; waitUntil {vehicleVarName player == _playerID}; }; Share this post Link to post Share on other sites
Mokka 29 Posted May 23, 2017 But why would you do that? The above segment makes almost no sense to me, as you could just give the player units a unique varname in the 3DEN editor... Share this post Link to post Share on other sites
Midnighters 152 Posted May 24, 2017 where is this being executed at? It could be just suspended until a condition is true and not initializing at all as a result. Share this post Link to post Share on other sites
Midnighters 152 Posted May 24, 2017 23 hours ago, Mokka said: But why would you do that? The above segment makes almost no sense to me, as you could just give the player units a unique varname in the 3DEN editor... why the hell would you even do that? unless this is SP, which I highly doubt it is. Then why would you go and individually name units? Share this post Link to post Share on other sites