OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: McFinnish on 27 May 2004, 16:36:17
-
I'am making an mission, where I want to units to be forced to get prone and after that no AI would fire. How can I stop AI from firing? I don't want to take their weapons and mags, is there any better way?
-
Hi,
To force the units to get prone:
{_x setUnitPos "DOWN"} forEach units groupName
To order hold fire:
groupName setCombatMode "GREEN"
Where 'groupName' is the name of the group...
Cheers