End screen - dklollol/Olsen-Framework-Arma-3 GitHub Wiki

The end screen is showed when the mission has been completed based on the endConditions.sqf.

End scenario

The end screen comes up when "TEXT" call FNC_EndMission is called from the endConditions.sqf.

You can use <br/> to make line breaks, just like pressing enter, in the end screen text.

Example:

"BLUFOR WIN!" call FNC_EndMission;

Setting up teams

The teams displayed on the end screen are configured in settings.sqf with [SIDE, "TEAMNAME", "player"] call FNC_AddTeam for players and [SIDE, "TEAMNAME", "ai"] call FNC_AddTeam for ai's.

SIDE is the actual Arma 3 team (west, east, resistance, civilian).

TEAMNAME is the framework name for the team, that is displayed on the end screen.

Example:

[west, "NATO", "player"] call FNC_AddTeam;

[east, "CSAT", "ai"] call FNC_AddTeam;

[independent, "AAF", "ai"] call FNC_AddTeam;

[civilian, "Altis Locals", "ai"] call FNC_AddTeam;

Tracking vehicles

To add vehicles or static weapons to be tracked by the end screen you use [this, NAME, TEAM] call FNC_TrackAsset in the init of the unit on the editor. The TEAM has to corresponding with the framework name of the team.

Example:

[this, "M-ATV", "NATO"] call FNC_TrackAsset;

[this, "KamAZ Truck", "CSAT"] call FNC_TrackAsset;

End screen example

⚠️ **GitHub.com Fallback** ⚠️