I want to have a global variable that will be initiated to false in the init.sqf and then using an addAction it will run a script that will make the variable true.
and then the condition for a unit to go to its waypoint is the global variable becoming true
How would I do this?
i tried doing this:
init.sqf:
startmission = false;
flag pole object:
_nul = this addAction["Start mission","start.sqf"];
start.sqf:
startmission = true;
helicopter waypoint condition:
startmission = true;
HOME 
Reply With Quote



