OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 03 Nov 2002, 21:47:12

Title: Switchmove Prone?
Post 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.
Title: Re:Switchmove Prone?
Post by: seanver on 03 Nov 2002, 22:45:07
this setunitpos "DOWN" works for me perfectly. Try, I don't know, to set the unit's behaviour to "AWARE"
Title: Re:Switchmove Prone?
Post by: red devil on 04 Nov 2002, 00:30:01
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
Title: Re:Switchmove Prone?
Post by: headshot_snipe on 04 Nov 2002, 16:00:13
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:
Title: Re:Switchmove Prone?
Post by: red devil on 04 Nov 2002, 18:10:05
do u meen down on 1 knee? that it a bit tricky or do u meen squating
Title: Re:Switchmove Prone?
Post by: Bremmer on 04 Nov 2002, 18:18:49
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"

 :)
Title: Re:Switchmove Prone?
Post by: Arctic on 05 Nov 2002, 04:30:14
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