Basic Zeus Scripting

This will be a composition of basic SQF scripting that is useful for Zeusing custom missions.

disableAI

An AI object can have properties disabled or enabled.

// keep units in place
this disableAI "MOVE";

AI Animations

// 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?

https://steamcommunity.com/sharedfiles/filedetails/?id=1314910827

_house setVariable ["bis_disabled_Door_1", 1, true];

Night Vision

// 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];
Please follow and like us:

©2021 MilSim.org

or

Log in with your credentials

Forgot your details?