OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SFG on 07 Apr 2003, 23:11:00

Title: Start prone
Post by: SFG on 07 Apr 2003, 23:11:00
I have a unit(player) with no weapons, i want him to start prone, how? ;)
Title: Re:Start prone
Post by: SnakeFart on 07 Apr 2003, 23:13:16
i had to make a waypoint on the player and select stealth and they start prone ...for me they did
Title: Re:Start prone
Post by: SFG on 07 Apr 2003, 23:17:34
Doesnt work for the player.
Title: Re:Start prone
Post by: macguba on 07 Apr 2003, 23:49:45
You could put

loon1 setbehaviour "stealth"

in either the init field of the unit or init.sqs.    Slightly cleaner than a waypoint just to achieve that.    Syntax not guaranteed.

For the player a switchmove might work.   Or what's that command, setUnitPos "down"?.
Title: Re:Start prone
Post by: LCD on 08 Apr 2003, 00:10:39
da only way 2 get da player start prone is 2 make him play anim dat make him lay

but if want 2 do it w/ AI do wat de oders told u ;D

LCD OUT
Title: Re:Start prone
Post by: _hammy_ on 08 Apr 2003, 00:34:42
player switchmove CombatToLying

i think that would work.

or like macguba said: player setunitpos "Down"
Title: Re:Start prone
Post by: SFG on 08 Apr 2003, 05:59:24
Thanks guys, i'll try it.