OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Hellbender on 28 Jun 2007, 01:52:10

Title: Surrender Animation
Post by: Hellbender on 28 Jun 2007, 01:52:10
Could someone tell me if there's an animation in Arma similar to the FXStandSur (surrender) animation from OFP?

I need this for some cutscenes but now it seems I have to start all over with animations in Arma ???

Any help on this or ref. to lists on the topic is very welcome!
Title: Re: Surrender Animation
Post by: nettrucker on 28 Jun 2007, 02:46:34
Try this one

unit  switchMove "TestSurrender"
That does the trick.
Cheers
nettrucker
Title: Re: Surrender Animation
Post by: Hellbender on 28 Jun 2007, 05:14:27
Alright, thanks!

But I can only get this to work using a trigger which is a bit odd! I doesn't seem to work in the init field, or in waypoints. Do you know why, or how I can get around this?
Title: Re: Surrender Animation
Post by: johnnyboy on 28 Jun 2007, 06:40:48
For some reason switchmove and playmove does not work in init. 

I use "Talk" waypoints for playing animations, and it always works for me. 

The Talk waypoint is good, because the unit is not directed to move anywhere, which would ruin the animation.  If you want  a series of animations, you can use a series of talk waypoints, using the min/max second values to delay a desired period between animations (example would be to have a unit sit for awhile, then stand up and check his watch, etc.)
Title: Re: Surrender Animation
Post by: Hellbender on 28 Jun 2007, 07:33:07
Alright, thanks guys!

Problem solved!
Title: Re: Surrender Animation
Post by: nettrucker on 28 Jun 2007, 11:03:55
Somebody made an animation viewer for ArmA but I can't recall who was it. I have to check this evening at home so I might be able to post a link. With that tool you can view all animations possible in ArmA with the respectice code snippet. I'm at work now therefore I don't have the possibility to send this link right away.
Cheers
nettrucker :D

edit: 28/06/07

Here's the link:

http://www.armaholic.com/page.php?id=1045 (http://www.armaholic.com/page.php?id=1045)
Title: Re: Surrender Animation
Post by: Hellbender on 30 Jun 2007, 03:05:55
Thanks Nettrucker!

That's brilliant! :good:
Title: Re: Surrender Animation
Post by: nettrucker on 30 Jun 2007, 03:36:35
Hello Hellbender
you're welcome. I just want you to know that this fantastic tool has been made by Hoz, Mandoble and Kronzky.
Thanks to them guys.
Stay tuned.
nettrucker :good: