Hey all, I’m very new to scripting in ArmA and have a few questions about using Alive functions and where to put code snippets. All of the following pertain to a local SP mission with local saving:
1)Is there a way to call playerNameSpaceClear outside of the debug console? I’d like to have it happen with my endmission trigger so that next time I play the mission after completing it, it starts over.
2) How can I preserve a task state in persistence? I’ve seen threads about making variables that are saved so I guess I could save a variable and activate the task via trigger, but I’m not sure where to put the code for saving or getting the variable state when the mission starts.
3) Is there a way to save editor placed units in persistence without profiling? My mission gives you control of a Mechanized platoon and i want to save their status but don’t want OPCOM take over their control. I assume editor placed units will respawn when I launch the mission so that’s not so bad, but saving their location would be nice.