Results 1 to 3 of 3

Thread: Working Animations + Anim loop script

  1. #1
    Gunnery Sergeant KBourne's Avatar
    Join Date
    Mar 19 2010
    Location
    Somewhere you have probably never been.
    Posts
    521

    Working Animations + Anim loop script

    Hi all,

    I was making my mission and as part of the development I was also planning to implement various animations, however for some reason certain animations that we know from ArmA2 might not exactly work as we are used to. I tried to use the anim viewer and working my way trough the animations but I was not able to make them work, but I kept looking for a solution. After the past Q&A Panzer_baron said he would release the list for the anims in Iron front but in the mean while I have a small list of already working anims here.

    I thought it might help the community a bit till we get a more detailed list.

    To make them work you will need to place a trigger for some reason the animations aren't working from within the units initialization box.

    Example1:

    Spoiler:

    Example2: This includes using a script! Which will cause the animations to loop indefinitely..

    Place the code in to a SQF and call it animationLoop.sqf

    Code without Weapons.

    Code:
    _unit = _this select 0;
    _animation = _this select 1;
    _noWeapons = _this select 2;
    
    _unit setVariable ["BIS_noCoreConversations", true];
    if (_noWeapons) then {removeAllWeapons _unit};
    
    while {true} do {
    	_unit switchMove _animation;
    	waitUntil {!(animationState _unit == _animation)};
    };
    Code with weapons.

    Code:
    _unit = _this select 0;
    _animation = _this select 1;
    
    _unit setVariable ["BIS_noCoreConversations", true];
    if (_noWeapons) then {removeAllWeapons _unit};
    
    while {true} do {
    	_unit switchMove _animation;
    	waitUntil {!(animationState _unit == _animation)};
    };
    Then do the same as with example1 but change the code in the on act field like this.

    Spoiler:


    Be aware of the fact that this freezes up certain animations on the end and it might not work on several of them!
    Also I am not the author of the script! and as of this moment I do not know who the author is as the script wasn't signed.

    Animation list:

    Spoiler:


    I hope this helps a bit for now till we get a more detailed release, I might update this post when I find more animations that work within Iron front ..

    Kind regards
    Last edited by KBourne; Jun 12 2012 at 19:28. Reason: Updated list and added anim loop script.

  2. #2
    Thanks for sharing KBourne! 8)
    Athlon II X2 250
    Nvidia Gt 240 - 512 MB
    4 GB DDR3
    WinXP Pro

  3. #3

    -

    Hi there,
    anyone know the animations they use in the background of Iron Front ? Like in the russian camp ? or the germans walking by near a destroyed tank ?

    I searched for them, but it seems like, I'm just unable to do so.

Similar Threads

  1. class Animations: Two Stage Anim Possible?
    By Abs in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 2
    Last Post: Feb 14 2011, 12:10
  2. loop rotation anim
    By engener in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 3
    Last Post: Jan 11 2011, 14:37
  3. Animations loop
    By MehMan in forum ARMA 2 & OA - BETA PATCH TESTING
    Replies: 1
    Last Post: Nov 9 2009, 05:38
  4. Help, I don't know how to loop animations.
    By MisterCookie in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Jul 15 2009, 08:10
  5. Custom music in an island anim not working.
    By theavonlady in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 25
    Last Post: May 24 2003, 21:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •