Jump to content

Bnae

Member
  • Content Count

    567
  • Joined

  • Last visited

  • Medals

Posts posted by Bnae


  1. In a similiar situation i used a missionNamespace variable to exit while loop. Not the best way but it works.

    missionNamespace setVariable ["ESCape", 0,false];
    while (true) do {
    _escape = missionNamespace getVariable "ESCape";
     sleep 1;
    if (_escape == 1) exitWith {["Terminate"] call BIS_fnc_EGSpectator};
    };

    And in the ESC keybind i had

    missionNamespace setVariable ["ESCape", 1,false];
    

  2. Hello!

     

    I'm maybe trying to do something that is kinda useless and possible pain in the ass but i'll give it a shot.

    I have created an animation that goes from erect>kneel while running full speed.

     

    Now i'm wondering if it's possible to make this animation override the a3 animation. So it should be; Full speed run > press crouch/kneel (X) > do custom animation with move forward > stop as kneel > continue normally as crouched.

     

    First i though maybe i'll do this with Shift+X but then i realized how many things will go wrong. Like it'll work in situations that i shoudn't; kneel>erect or by just standing still.

     

    I have only experience on animations used via keybinds or reloadGestures so this is kinda out of my comfort zone.

     

    If you have anything on your mind, please feel free to share it.


  3. _ground = "GroundWeaponHolder" createVehicle (getPos player);
    sleep 1;
    player action ["dropWeapon", _ground, primaryWeapon player];
    

    Corret me if i'm wrong but it didn't create a WeaponHolder as it should, but this should work for.

    Use handgunWeapon for pistols, secondaryWeapon for launcher and so on.

     

    I'd recommend to remove the weapons after awhile.

    • Like 1

  4. Note: A test via == does not work, because, for example, objNull is not equal to anything, not even to itself. Use isEqualTo.

     

    I would advise to do whatever you're doing differently if you cannot find a correct solution from what you have. Good luck


  5. On a serious note, kinda off topic, but SuicideCommando made me me think of it....

    ASDJ_JR was folded into CBA, but I was told there were some functions in ASDJ_JR didn't make the crossover. Can someone explain this to me, if it's not too much trouble?

    ~S

     

    Doesn't really matter since ASDG Joint Rails is not going to continue as a standalone anymore

     

    For players

     

    If you have CBA 2.0, you don't need ASDG JR anymore, it becomes redundant.

    All your various ASDG compatibility addons are still valid to use.

     

    For modders

     

    All asdg_* classes remain unchanged. You don't need to update your configs.

    Function asdg_fnc_compatibleItems became CBA_fnc_compatibleItems.

    Optional but recommended: change asdg_jointrails in requiredaddons to cba_jr

    List CBA v2.0+ as a requirement instead of ASDG JR.

     

    Future plans for ASDG JR

     

    Developed as part of CBA.

    No longer maintained as a standalone release.

     

     

    And for now this is going to be a standalone addon > reason = Colors and locations from other weapons/ addons won't match.


  6. Would be easy to do with addons > Hands behind back animation with upperTorso mask. Problem is now that you have to download something if you want to join the server.

    Go through all the animations > check if you can move along the animation and i bet you find a solution that suits you.

     

    \a3\anims_f\config\sdr\config.cpp > mask="upperTorso";

     

     

    Edit: Do not use addActions on interacting functions. Why not? Misclicks will be fatal

    • Like 1

  7. Hello,

     

    How do i define custom animation example "AmovPercMstpSrasWrflDnon_AadjPpneMstpSrasWrflDright"  (original a3 animation) so i can run the animation via switchMove.

    I have experience of making reload animations and handposition animations, but these animations are used and defined in the config files, not used with commands ingame.

     

    UPDATE

     

    Nevermind i can do everything i wanted with playAction

     

    Thanks.

×