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
) »
making units stand still
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: making units stand still (Read 413 times)
0 Members and 1 Guest are viewing this topic.
killjoy73au
Guest
making units stand still
«
on:
16 Jan 2005, 00:00:07 »
hey this is pretty much basicville but how do you make it so a soldier stands still and doesnt run off anywhere or take cover when they are in combat
Logged
Dane
Guest
Re:making units stand still
«
Reply #1 on:
16 Jan 2005, 00:10:37 »
Unitname setbehaviour "careless"; doStop unitname or {_X setBehaviour "careless"} forEach units groupname; {doStop _X} forEach units groupname.
But units won't fire if they are in careless mode and the dostop only works when the units aren't engaged.
Maybe this is what your'e looking for
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=18098
«
Last Edit: 16 Jan 2005, 00:17:35 by Dane
»
Logged
macguba
Former Staff
Re:making units stand still
«
Reply #2 on:
16 Jan 2005, 01:08:17 »
In certain circumstances the command disableAI can also be useful. Comments in the online comref in the Ed Depot. Also setUnitPos.
Logged
Plenty of
reviewed ArmA missions
for you to play
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
) »
making units stand still
Top of page