Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
colonel_paz

How can I add options in my action menu to play animations?

Recommended Posts

Hello guys... I was wondering how can I make my characters in arma2 play animations by adding the option in my actions menu.

Example... I want my character to play the hand stand when I select it in my actions menu (mouse wheel menu).

is it possible? how can I script it?

Please let me know the full way to script it :j:

Thanks guys!

Share this post


Link to post
Share on other sites

here's how to do it, first write a script to get your guy to do the handstand animation..so in the .sqf have something like..

player switchMove "blablabla";

then, put in the player's init line the following...

player addAction ["Hand Stand", "handstand.sqf"];

obviously, handstand.sqf can be changed to whatever you named the function as, and "Hand Stand" is what is shown in the dialog box.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×