User Tools

Site Tools


arma2:missions:exit.sqf

ArmA 2 Exit.sqf

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

When campaign mission is completed, file called exit.sqf is executed (yes also exit.sqs but for ArmA 2 we use exit.sqf). This can used for example in campaign to transfer weapons and soldier information to the next mission (saveVar and saveStatus).

Exit.sqf file is called and executed automatically, you do not have to execVM it yourself.

If this file is very long, it is executed… but cant get very far before mission ends so make sure you don't add very complex and absolutely NO sleep or waitUntil commands as they simply wont get executed there.

arma2/missions/exit.sqf.txt · Last modified: 2024/08/01 21:20 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.