From Bohemia Interactive Community
-
- Posted on December 20, 2009 - 12:00 (UTC)
- Preacher
-
The easiest way to use this function is to create a group, then add the following code to the group leader's init field:
[group this, getPos this] call BIS_fnc_taskDefend;
-
- Posted on December 9, 2009 - 01:59 (UTC)
- McHide
-
The more correct way is to:
- Place function module on map (Arma 2 only)
- Make one waypoint for group and put this code in Waypoints On.Act. field
[group this, position this] call BIS_fnc_taskDefend;
- You can use triggers for this function too, but your groups must be named
{ [_x, position leader _x] call BIS_fnc_taskDefend } forEach [grpName1, grpName2];