ENDEX Script & Custom End Screen - AdamWaldie/WaldosMissionPack GitHub Wiki
Associated Files: MissionScripts\MissionFlow\ENDEX.sqf
ENDEX
The ENDEX script performs the following actions:
- Places all player weapons on Safe and prevents Players and player vehicles from firing.
- Makes all Hostile AI Passive
- Fully Heals all Players & Makes them invincible
- Creates a popup informing players that the mission is over and to congregate together for debriefing.
- If a player tries to fire their weapon or use grenades, it is deleted and a popup tells them to cease firing.
You can call ENDEX by executing this line of code locally - such as a trigger:
[] spawn Waldo_fnc_ENDEX;
Alternatively, you could remotely execute it via a script:
remoteExec ["Waldo_fnc_ENDEX",0,true];
An example of it in use can be seen below:

Custom End Screen
At the base of the description.ext provided, you can find a custom end card section.
You can customise this section to display a custom end screen Title, Subtitle and description - similar to that in Zeus, but with greater control.

You can then end the mission with this custom end screen by executing the following script:
["end1"] remoteExec ["BIS_fnc_endMission",0,true];
Below is an example of the custom mission end screen:

Zeus Usage
You may also use the provided Zeus Enhanced modules in the pack to perform both of these actions.
Waldos Mission Pack Zeus Modules are covered separately.