Jump to content

ShadowRanger24

Member
  • Content Count

    126
  • Joined

  • Last visited

  • Medals

Community Reputation

50 Excellent

1 Follower

About ShadowRanger24

  • Rank
    Sergeant

Recent Profile Visitors

2070 profile views
  1. Hi everyone, So I am currently trying to get a CPR animation loop working for a revive script on players. However I am experiencing some issues. I am trying to replicate the smooth looping of an Arma 3 CPR animation which works perfectly fine in the animation viewer, but once I use it on a player it just does not work. I will point out that I have tried several different methods of looping the animation including the use of the AnimDone event handler to no effect. Here is the script I am using for testing: private _animDuration = 9.09091; private _animLastTick = time; player playMoveNow "AinvPknlMstpSnonWnonDr_medic0"; while {true} do { if ((time - _animLastTick) > _animDuration) then { _animLastTick = time; player playMoveNow "AinvPknlMstpSnonWnonDr_medic0"; }; }; Any help would be much appreciated. Thanks in advance.
  2. So I've been stuck with this issue for a while. I've tried asking different people but I haven't been able to find anyone who knows how to do this. Basically what I'm trying to replicate is Eden menus (e.g attribute menus) blocking input to background dialogs when their opened. For example, when you open an overlay display in the Eden editor, you will only be able to interact with that display, and any input to background ones are disabled. I have looked into the Eden editor dialog classes, and I can see that they all use "ctrlStaticBackgroundDisable" for this by the looks of it. I have tried to replicate it, but it just doesn't work. Dialog file: https://pastebin.com/3niigADA Creation of the dialog: private _mainDisplay = [] call BIS_fnc_displayMission; private _display = _mainDisplay createDisplay "SR_RscDisplayTest"; Any help would be much appreciated. Thanks in advance.
  3. ShadowRanger24

    Arma Languages support for Atom

    Arma language support for Atom has been updated to version 2.13.0! Changelog: - BI Commands from Arma 3 v1.78 - BI Functions from Arma 3 v1.78 - CBA Functions from CBA 3.6.1
  4. ShadowRanger24

    Updated All in One Config Dumps

    Vanilla 1.80 https://www.dropbox.com/s/cvjxol572cca1pd/AiO.1.80.143869.cpp?dl=0
  5. ShadowRanger24

    HandleDamage Event Handler Explained

    This would work, however if you would want to prevent any previous damage from being removed you'd need to tweak it a little more like this: _unit addEventHandler ["HandleDamage", { private _unit = _this select 0; private _hitSelection = _this select 1; private _damage = _this select 2; if (true) then { if (_hitSelection isEqualTo "") then { damage _unit } else { _unit getHit _hitSelection }; } else { _damage }; }];
  6. Are there any plans on adding support for pixel grid GUI positioning?
  7. ShadowRanger24

    Updated All in One Config Dumps

    Could someone please provide an updated config for the latest Arma 3 version?
  8. ShadowRanger24

    Updated All in One Config Dumps

    Has anyone run this for the latest Arma version? I can't seem to run this script, even with the extension installed. It hangs and then crashes my game everytime, and I don't even have that bad of a computer. I tried getting my friend to do it too who has a high end PC and it did the same for him too.
  9. ShadowRanger24

    General Discussion (dev branch)

    Was the font for the code entry box in the debug console changed? The font is a bit odd looking and not as easily readable for me. Not sure if anyone else has noticed this?
  10. ShadowRanger24

    General Discussion (dev branch)

    @killzone_kid Do you reckon it would be possible to have the idea of the ability to execute code in the debug console on a certain player? Would be a cool feature to have with these other recent improvements to the debug console.
  11. ShadowRanger24

    General Discussion (dev branch)

    With these nice updates on the debug console, would it be possible to have the ability to remote execute code on a specified target player added? Through like a combo box or something? Would be a great addition.
  12. ShadowRanger24

    Points Around Circle Issue

    Yeah got it sorted, wasn't thinking properly. Cheers tho. For anyone curious to what needed to be changed for it to work: params [ ["_amount", 0, [0]], ["_origin", [], [[]]], ["_radius", 0, [0]] ]; private _positions = []; for "_a" from 0 to 359 step (360 / _amount) do { _positions pushBack (_origin getPos [_radius, _a]); }; _positions
  13. ShadowRanger24

    Points Around Circle Issue

    -snip-
  14. So someone on Discord showed me how to generate points around a circle based on a given amount and center position. However it has an issue, for some reason the first and last position in every returned array is the same. I can't seem to figure out why. Here's the script: params [ ["_amount", 0, [0]], ["_origin", [], [[]]], ["_radius", 0, [0]] ]; private _positions = []; for "_a" from 0 to 360 step (360 / (_amount - 1)) do { _positions pushBack (_origin getPos [_radius, _a]); }; _positions Thanks in advance.
  15. ShadowRanger24

    [Release] Auto Run Script

    I updated the code to prevent auto run in water or in a vehicle and to automatically disable it if the player does so. Just gotta work on the running up hills part now.
×