McSParking
From Original War Support Wiki
SAIL Functions/M -> McSParking
SAIL Functions/MacrosRelated -> McSParking
Description
Changes list of parking vehicles for McSkirmish macro.
Usage
McSParking(mcsid:integer, veh:plist, park:boolean);
mcsid - id of a running McSkirmish macro,
veh - a list of vehicles to register for McSParking function,
park - defines whether to park (true) registered vehicles or not (false).
Example
The code below sets a list of vehicles (stored in "vehicles" variable) to park in area while idle (area is set on a map and registered in McSkirmish macro).
McSParking(mcsid, vehicles, true);