OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: nopenothinghere on 26 Mar 2005, 10:46:32
-
How do you make a unit put there hands up, and how do you make a unit sit ???
-
you cant make a unit put there hands up to my knowlege but you can make them put there hand behinfd there head
wich is
unit_name playmove "FXStandSurUniv"that will put there hands behinfd there head
and to make them sit down is
unit_name playmove "Effectstandsitdown"that will make them sit on the floor if you want them to sit n a chair it is
unit_name playmove "OnChair"and all those go in a waypoint or in an init field or script or what ever you want
but some may need the unit to be in a specific stance like to make them sit they must be in safe mode
-
get a com ref that has all the anim names in it
i think theres one in ofpec. it will help you
-
There is a reference list and a demo mission in the Ed Depot.
Sometimes these commands don't work in init fields.
-
where abouts!
-
i went to the ed depot, typed 'animations' into the search box, and presto.
try this (http://www.ofpec.com/editors/resource_view.php?id=471).
and welcome back gubes ;)
-
BTW when you do a playermove don't you have to do it from a trigger? I don't think it works from the init field of a unit
-
BTW when you do a playermove don't you have to do it from a trigger? I don't think it works from the init field of a unit
true, ...or in a waypoint