OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Spectaculas on 27 Apr 2004, 11:38:43

Title: Just read this..
Post by: Spectaculas on 27 Apr 2004, 11:38:43
Ok. I'm quite newbie so please help me. I hope you understand:

How can I put soldier to duck or crouch already when the mission starts?

(Im finn so dont care about my mistakes on writing. Btw Im 12 :-\)
Title: Re:Just read this..
Post by: j-man on 27 Apr 2004, 12:19:23
I think you put this in the units init field:

this setbehaviour "COMBAT"; this switchmove "CombatToCrouch"

EDIT
I havn't tested it though
Title: Re:Just read this..
Post by: Zombie on 27 Apr 2004, 12:44:04
unitname switchmove "crouch" and they will be crouched.  I use this on some MP missions like this
player switchmove "crouch"  just put that in a scrpt or in the init line after custom weapon loadout
Title: Re:Just read this..
Post by: Xaio04 on 27 Apr 2004, 13:57:52
yea it works only on you, but with AI it does it then prones...