OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: S.T.O.S on 22 Jan 2005, 00:48:38

Title: Making a unit stand when firing...
Post by: S.T.O.S on 22 Jan 2005, 00:48:38
Hi Back again..
Just wanted to know how to make a
unit avoid laying down before firing.

Foraneksample -
A sniper placed before a window in a tall building...
He has to maintain his stand position. or hel fallout when laying down...

Thanks For your assistance..                        
Title: Re:Making a unit stand when firing...
Post by: dmakatra on 22 Jan 2005, 00:50:06
Type this in the unit's init field:

this setunitpos "up"

:beat: *Gets Shot* :beat:
Title: Re:Making a unit stand when firing...
Post by: S.T.O.S on 22 Jan 2005, 00:51:32
thx thats all i needed..