OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MACCO on 06 Oct 2003, 11:53:57
-
hi!!
i need some help with a script.
i want to make a pilot to lay down on a bed in a barrack. it will simulate or look like the pilot sleep in the bed
how do i ???
explain very simple, i can't editing so good
/macco
-
Should be easy:
pilot switchMove "Animation"
pilot setpos ["the abciss of the bed's position - number","the ordinate of the bed's position - number", "the bed's height - number"]
Notice that "Animation" should be one of the "dead" (without blood) animations available in OFP... It will look nice.
-
try
unitname switchmove "deadstate" in a WP
-
thanx, will try it