OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 18 Jul 2004, 04:25:09
-
ok i have tryed all i know for this...
unitname disableAI "Move"
unitname disableAI "autotarget"
unitname disableAI "target"
but they still look around...
i'v made a camera scrip that zooms in to all the soldiers so i want then to keep there heads still so that you can see there face and not there head...
i also tryed
unitname dotarget "bossman"
and
unitname dotarget "bossman"
bossman being a soldier thats facing the rest of the soldiers but still they cant seem do keep there heads still, do these soldiers need medication? ;D
cheers, Philly
-
Try the dowatch command, or if that doesn't work try dotarget.
doWatch position
Operand types:
position: Array
Type of returned value:
Nothing
Description:
Order unit to watch given position (format Position) (silent).
Example:
soldierOne doWatch getMarkerPos "MarkerMoveOne"
--------------------------------------------------------------------------------
doWatch target
Operand types:
target: Object
Type of returned value:
Nothing
Description:
Order unit to move to watch given target (silent).
Example:
soldierOne doWatch player
-
If you want to make them look in a specific direction rather than just look at something you could try toadlife's Face direction script from the Editors Depot