OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: nopenothinghere on 26 Mar 2005, 10:46:32

Title: Hands Up
Post 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 ???
Title: Re:Hands Up
Post by: 456820 on 26 Mar 2005, 11:01:14
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
Code: [Select]
unit_name playmove "FXStandSurUniv"that will put there hands behinfd there head
and to make them sit down is
Code: [Select]
unit_name playmove "Effectstandsitdown"that will make them sit on the floor if you want them to sit n a chair it is
Code: [Select]
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
Title: Re:Hands Up
Post by: penguinman on 27 Mar 2005, 07:59:13
get a com ref that has all the anim names in it

i think theres one in ofpec. it will help you
Title: Re:Hands Up
Post by: macguba on 27 Mar 2005, 10:27:51
There is a reference list and a demo mission in the Ed Depot.

Sometimes these commands don't work in init fields.
Title: Re:Hands Up
Post by: nopenothinghere on 27 Mar 2005, 12:39:01
where abouts!
Title: Re:Hands Up
Post by: bedges on 27 Mar 2005, 12:44:42
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 ;)
Title: Re:Hands Up
Post by: Pr0ph3t on 27 Mar 2005, 19:58:54
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
Title: Re:Hands Up
Post by: Blanco on 28 Mar 2005, 03:32:30
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