-
Content Count
126 -
Joined
-
Last visited
-
Medals
Community Reputation
50 ExcellentAbout ShadowRanger24
-
Rank
Sergeant
Recent Profile Visitors
-
CPR Animation Loop Not Working
ShadowRanger24 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
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.
-
Arma Languages support for Atom
ShadowRanger24 replied to glowbal's topic in ARMA 3 - COMMUNITY MADE UTILITIES
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 -
Updated All in One Config Dumps
ShadowRanger24 replied to Pennyworth's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Vanilla 1.80 https://www.dropbox.com/s/cvjxol572cca1pd/AiO.1.80.143869.cpp?dl=0 -
HandleDamage Event Handler Explained
ShadowRanger24 replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 }; }]; -
Arma Dialog Creator - A WYSIWYG Approach to Dialog Creation
ShadowRanger24 replied to K-Town's topic in ARMA 3 - COMMUNITY MADE UTILITIES
Are there any plans on adding support for pixel grid GUI positioning? -
Updated All in One Config Dumps
ShadowRanger24 replied to Pennyworth's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Could someone please provide an updated config for the latest Arma 3 version? -
Updated All in One Config Dumps
ShadowRanger24 replied to Pennyworth's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
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. -
General Discussion (dev branch)
ShadowRanger24 replied to DnA's topic in ARMA 3 - DEVELOPMENT 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? -
General Discussion (dev branch)
ShadowRanger24 replied to DnA's topic in ARMA 3 - DEVELOPMENT 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. -
General Discussion (dev branch)
ShadowRanger24 replied to DnA's topic in ARMA 3 - DEVELOPMENT 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. -
Points Around Circle Issue
ShadowRanger24 replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 -
Points Around Circle Issue
ShadowRanger24 replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
-snip- -
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.
-
[Release] Auto Run Script
ShadowRanger24 replied to ShadowRanger24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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.