PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

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