OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Killzone on 09 Mar 2007, 14:49:13

Title: ARMA Playmove switchmove?
Post by: Killzone on 09 Mar 2007, 14:49:13
Hi,

Does anyone know how to use these in ARMA. I dont get it.

unit switchMove move (Table code: "Usage:s")
unit playMove move (Table code: "Usage:p")


I wanted to use this move:    ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan

Can someone give an example.

Thanks in advance
Title: Re: ARMA Playmove switchmove?
Post by: bardosy on 09 Mar 2007, 15:01:06
unit switchMove "ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan"
Title: Re: ARMA Playmove switchmove?
Post by: Planck on 09 Mar 2007, 15:06:04
Or even:

unitname playMove "AmovPercMstpSnonWnonDnon_exerciseKata"


Planck
Title: Re: ARMA Playmove switchmove?
Post by: Killzone on 09 Mar 2007, 15:09:47
Thanks for such a quick reply but it does not work. I think that was the way ofp did it.  (which was simple and direct)

ARMA wants to use these

unit switchMove move (Table code: "Usage:s")
unit playMove move (Table code: "Usage:p")


I am just not sure how to.

Thanks again
Title: Re: ARMA Playmove switchmove?
Post by: Planck on 09 Mar 2007, 17:13:44
You are wrong, it does work, at least it does for me.

I did try it first before I posted here.

The actual animation you posted about does not really work correctly though, it seems to bury the unit half way into the ground.

Just to add.......do not put it in a units init field it does not work from there, try a radio trigger.


Planck
Title: Re: ARMA Playmove switchmove?
Post by: Cheetah on 09 Mar 2007, 17:16:52
According to the switchMove list (http://community.bistudio.com/wiki/Armed_Assault:_Moves_List) the command has to be playmove so I suggest that you try the following code, don't know if it works in a trigger you might have to make a script and execute it.

unit playMove "ActsPercMstpSnonWnonDnon_MarianQ_TVstudioMan"

Title: Re: ARMA Playmove switchmove?
Post by: Killzone on 09 Mar 2007, 18:15:58
My mistake planck. I tried it from the init line. A trigger does work.  although the move does bury him.

Thanks  :)