OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: epsilonsun on 14 Oct 2008, 05:46:16

Title: how to set a man sit on a chair?
Post by: epsilonsun on 14 Oct 2008, 05:46:16
I try,but I lose. I dont know how to make it .

thanks!
Title: Re: how to set a man sit on a chair?
Post by: Cheetah on 14 Oct 2008, 11:40:41
There is an entry in the Frequently Asked Questions about using animations: FAQ animations (http://www.ofpec.com/FAQ/faq_units.php#anim).
Title: Re: how to set a man sit on a chair?
Post by: bedges on 14 Oct 2008, 13:05:25
Bear in mind that the animation names (http://community.bistudio.com/wiki/Armed_Assault:_Moves_List) are different for Armed Assault.
Title: Re: how to set a man sit on a chair?
Post by: epsilonsun on 15 Oct 2008, 05:38:02
ehhh a little bit problem taht I create a man and chair, input init "unit_name switchmove "FXStandUnivTable".

but nothing happens,is the script "unit_name switchmove "FXStandUnivTable" must run with a target?

thank you for replies!
Title: Re: how to set a man sit on a chair?
Post by: Planck on 15 Oct 2008, 20:08:30
Just to confirm, but you are using OFP are you not?

If not then 'FXStandUnivTable' will not work with ArmA, it is an OFP animation.

If it is OFP you are using then you must replace 'unit_name' with the name you have given the unit.


Planck
Title: Re: how to set a man sit on a chair?
Post by: epsilonsun on 16 Oct 2008, 05:58:40
thank you planck.

Im using arma. so it doesnt work.

and it means,NO script command can make that in arma?

I just try to do like this,a president or general siting in his office,but it seems impossable in arma.

Title: Re: how to set a man sit on a chair?
Post by: Wolfrug on 16 Oct 2008, 10:54:54
There's the animation for the TV anchor that's used in the European version - although it's a little twitchy (the guy moves  like he's talking - but I think you might be able to "lock him in place" if you use disableAI "Anim"). I believe these are the ones used for that, try one of 'em:

ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan
ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan_Loop1
ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan_Loop2
ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan_Loop3
ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan_LoopLong

Don't know if there's a standard "slouching" one like in OFP though.

Wolfrug out.