Basic Zeus Scripting
This will be a composition of basic SQF scripting that is useful for Zeusing custom missions.
An AI object can have properties disabled or enabled.
// keep units in place this disableAI "MOVE";
// NOTE: use BIS_fnc_ambientAnim if you want them to stay in the animation.. use BIS_fnc_ambientAnimCombat if you want them to get out of their animation during combat. // sitting legs dangling off ledge [this,"SIT_HIGH2"] call BIS_fnc_ambientAnim; // lean against wall [this,"LEAN"] call BIS_fnc_ambientAnim; // sitting indian style [this,"SIT_LOW"] call BIS_fnc_ambientAnimCombat;
Disable a Door
Maybe you want to disable a door so they have to use a breaching charge?
_house setVariable ["bis_disabled_Door_1", 1, true];
// remove night vision this unassignItem "NVGoggles"; this removeItem "NVGoggles"; // init: gives night vision and enables them on (NVGoggles_INDEP, NVGoggles_OPFOR) player assignItem "NVG_Class_Name"; player action ["nvGoggles", player];