I have another problem for you to solve!
I've got several long missions in wich I want to have moving respawn points...
at each stage, a trigger (bluefor present, or opfor not present) sets a variable: (1,2,3,4)
respawnpos=1; publicVariable "respawnpos"; drapeau1_1 setFlagTexture "\ca\misc\data\usa_vlajka.paa"; hint "Respawn point updated";
then, another trigger is activated: condition: respawnpos==1 (then 2,3,4)
"respawn_west" setMarkerPos getPos drapeau1_1;
The problem is that when a player "join in progress" occurs, the player joining the game starts at the first position of the respawn_west marker, and when he enters the trigger "bluefor present", the respawn point moves, of course!
How can I force the player incoming to start at the current respawn position?
If I fix a starting value of the respawnpos in the init file, is that value changed with the publicvariable command?
can I use the "getvariable" command?
thanks!