OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 03 Nov 2002, 21:47:12
-
I need some units to begin prone. I cant figure out which command I should use. I've tried switchmove/playmove "PRONE"; and ive also tried this setunitpos "DOWN". It doesnt work.
This is sort of a stupid post... but I cant figure it out. Is there a list for all of the actions that switchmove and playmove can do? I could use one.
-
this setunitpos "DOWN" works for me perfectly. Try, I don't know, to set the unit's behaviour to "AWARE"
-
You do know that u cant make ur unit start prone dont u? everything else should work fine
if it still dont work try this open up the unit thing an in the intel thing copy and past this:-
this SetUnitPos "DOWN"
ohh and they will never start prone no matter what u do they will only go prone when the mission starts u could cover this up with a cut scene or something. I hope this help
-
how du you make a unit crouch
this setunitpos"crouch" doesn't work, is there a switchmove option to make a unit crouch
thanx
HSS :gunman:
-
do u meen down on 1 knee? that it a bit tricky or do u meen squating
-
For starting off lying try this switchmove "lyingstillV1"; this setunitpos "down" (if it doesn't work in the init field then place a waypoint directly over the unit and put the command in the waypoint).
For crouching try this setbehaviour "combat"; this playmove "combattocrouch"
:)
-
I figured it out! It was because I was trying to do it with the player! Ive figured out that it only works with AI.
Cheers