Skip to content

variables

nk3nny edited this page Mar 17, 2021 · 8 revisions

LAMBS Danger FSM - Unit and Group Variables

The mod adds a few unique variables to individual units and groups to read information and to enable control.

Variables

Group variables

Group leaders are equipped with an extra layer of AI. The group or tactical assessment component covers such things as calling for artillery, coordinated building assaults, hiding from tanks or airplanes, remanning static weapons, scanning with binoculars, and additional levels of extra-group communication.

<group> setVariable ["lambs_danger_disableGroupAI",true];

Unit variables

The enhanced behaviours of the mod are easily toggled. The unit FSM may be dynamically deactivated during play. The individual AI handles such things as entering buildings, the reaction state to combat, panicking and various other core LAMBS Danger FSM features.

<unit> setVariable ["lambs_danger_disableAI",true];

Formation variable

With the group AI active it is possible to configure formation changes on first contact. The formation change is run on the 'Contact' event. Possible uses could be to change the unit from a patrolling formation to a CQC mode, or some other preferred variation.

<group> setVariable ["lambs_danger_dangerFormation","FILE"];

Functions

Documentation for most of the functions can be read from the GitHub itself. The header for each mod includes a description and example of use. Among the public and more utilitarian functions are those pertaining to the unique waypoints added by the mod. These are described below:

Eventhandlers

LAMBS danger.fsm adds many new event handlers to a CBA framework. Look to the sidebar for a full-on description.

Clone this wiki locally