-
Notifications
You must be signed in to change notification settings - Fork 1
Groups Reaction
Group can be added to Group Reaction System (GRS) via several ways. After they were added, groups will call for reinforcements or reinforce other groups.
Be adviced: At least 1 DynAI zone should exist!
To include all editor-placed untis to GRS, set dzn_dynai_forceGroupResponse = true; variable at dzn_dynai/dzn_dynai_init.sqf.
Add next code to unit's init in the editor: this setVariable ["dzn_dynai_canSupport",true]; It's enough to set variable to single unit from group.
Place GameLogic object and add next code to it's init in the editor: this setVariable ["dzn_dynai_canSupport",true]; Now synchronize all units you want to include to GRS with this GameLogic. It's enough to synchronize single unit from group.
@Unit or @Group call dzn_fnc_dynai_addGroupAsSupporter -- where single argument is Unit or Group. You are free to spawn this function.