Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
firing commands
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: firing commands (Read 422 times)
0 Members and 1 Guest are viewing this topic.
McFinnish
Guest
firing commands
«
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?
Logged
alimag
Contributing Member
I'm a llama!
Re:firing commands
«
Reply #1 on:
27 May 2004, 17:03:45 »
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
firing commands
Top of page