Functions & Scripts - RimmyDownunder/PERSIST-RCO GitHub Wiki

Scripts you can manually call during play or utilize in a init script, etc.

This list will be expanded as time goes on.

Run the Save Script

This script must be run in an scheduled environment. This will save the mission using PERSIST and update the save file for all players.

Arguments:

0: Whether to attempt to save old Slot Loadouts if a player is not present in that slot. <BOOLEAN>

[[true],"RCOP\RCOPersist\RCOPsaving.sqf"] remoteExec ["execVM",0];

Run the Detailed Load Script

This will run the Detailed Load using PERSIST and update anything specified, such as a vehicle's status or player loadouts. While this can be run at any time, if the vehicles have moved from their original starting position it will not affect them.

Arguments:

0: Load the saved Building Supplies budget for a Limited Fortify container. 0 is false, 1 is true. <NUMBER>

1: Load vehicle data, including damage, inventories, ammunition, fuel levels. 0 is false, 1 is true. <NUMBER>

2: Choose the Player Loadout system. 0 is do not load loadouts, 1 is Player-Profile based, 2 is Slot-Based (Recommended). <NUMBER>

3: Load player ACE medical data. CURRENTLY PLACEHOLDER, AWAITING ACE UPDATE. 0 is false, 1 is true. <NUMBER>

4: Load player ACEX Hunger and Thirst data. 0 is false, 1 is true. <NUMBER>

5: Load player map markers. 0 is false, 1 is true. <NUMBER>

6: If the Detailed Load will apply to players who join while the mission is in progress. <BOOLEAN>

[[1,1,2,1,1,1,false],"RCOP\RCOPersist\RCOPcrateFiller.sqf"] remoteExec ["execVM",0];

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