CBA_fnc_moduleDefend

Description

A function for commanding a group to defend a location with information parsed from a module.

Parameters

  • Logic (Object)
  • Group Leader(s) (Array)

Optional

Logic Parameters (Must be passed associated with Object using “setVariable”)

  • Location Type (String) setVariable [“defendLocType”, value]
  • Defend Position (XYZ, Object, Location, Group, Marker, or Task) setVariable [“defendPosition”, value]
  • Building Threshold (Scalar) setVariable [“threshold”, value]
  • Can Patrol (Bool) setVariable [“canPatrol”, vaule]

Example

[Logic, [group1, group2,..., groupN]] call CBA_fnc_moduleDefend

Returns

Nil

Author

WiredTiger

Close