Jump to content

PaxJaromeMalues

Member
  • Content Count

    24
  • Joined

  • Last visited

  • Medals

Community Reputation

22 Excellent

About PaxJaromeMalues

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. PaxJaromeMalues

    3CB Factions

    Variants of BTR60 in the Factions Pack throw errors like this: Picture \rhsafrf\addons\rhs_decals\data\numbers\4_ca.paa not found Which hinder missions using those assets from loading upon mission selection on the server. A ticket was opened at RHS for this but I am pretty sure it does not belong there but rather here because it only happens with UK§CB variants with attribute option of a skin selected?
  2. We are sadly still stuck with a locality issue for multiplayer use. Also due to a bit of increased work load in our community, this has been paused for a bit. We'll continue after summer most likely.
  3. So far 'GermanHydrogen' has made significant changes to the project and is doing a hell of a good job at getting this to working stage. I plan to release 'v1.0-alpha.3' once the server<->client interaction is in a presentable alpha-state.
  4. RR CRAM Project THIS PROJECT HAS SOFAR NOT BEEN RELEASED AND IS WORK IN PROGRESS Start Date: 12/2020 Team: Wasserstoff (Main Coder) Pax (Github / PR / Code Kiddo) Contributors: none so far Host Community (DE): Website Discord Pre-Release Versions: v1.0.a.1 4.4.21 - v1.0.a.2 Feature-Requests / Bugreports / other issues: PLEASE LABLE YOUR ISSUE! Credits: Can be found on the project main page. already CBA Team for saving our butts with XEHs 😉 Updates will be posted in this thread
  5. delete pls
  6. PaxJaromeMalues

    [Release] C-RAM Script

    Nope. Praetorians in Vanilla sofar shot at Fixed Wing, Rotary Wing and strategic missiles when I placed them in editor. This is what I have worked out so far. There is sofar no functionality for missle interception as that is being done just fine by the vanilla weapon system. If anyone wants to participate, go right ahead. https://github.com/PaxJaromeMalues/arma3_cram
  7. PaxJaromeMalues

    [Release] C-RAM Script

    Thank you Zby, I am currently rewriting the entire script with components from Fluff, Kirumy and Yax's ITC Land Mod. I hope to be able to create a scripted, well working version comparable to the CRAM in ITC, but on a per mission basis. This might take some weeks, I will post it in a new thread with a Link to this one.
  8. PaxJaromeMalues

    [Release] C-RAM Script

    @Floof @kirumy Would be awesome if this could be continued. I will try it out for sure. Its very helpful if you need cram functionality but adding a mod to the modpack is not possible for that reason alone. EDIT: So I tried it out and the script somehow now has several failures popping up but I am too inapt to identify the issues within the code. Sofar I could only see that it got something to do with _interceptor and _ammo? _ammoType?
  9. Reported https://feedback.bistudio.com/T136751
  10. And I am back with at least SOME good news: 1. Buddy at my community looked at the code and the config viewer and was able to determine that "terc" as animationSource actually doesn't exist anymore. The term for swivel targets is now: popup_Source. 2. Even tho "Terc" is not working anymore the EH which is on the swivel by default (hitPart) actually works for whatever reason when just placed with the object and entirely left alone. This doesn't get us anywhere tho. 3. We are now able to properly animate the swivels with popup_source in combo with BIS_leaningEnabled. BUT 4. The EventHandler hitPart is still not executing at all. last try in local multiplayer did generate this error in RPT: Code currently looks like this: /////////////////////////////////////////////////////////////////////////////////////////// //Script to be called by inits or scripts for operating swivel and popup //targets around a specified object "_centerObj". //params: [ShouldTargetsAutoPop?,WhichSwitchShouldRun?,WhatDistanceFromObject?,WhatObject?] //By Pax /////////////////////////////////////////////////////////////////////////////////////////// params [ ["_execution", "init"], ["_distance", 500], ["_centerObj", initCenter], ["_popEnabled", false] ]; _targets = nearestObjects [position _centerObj, ["TargetBase", "Target_Swivel_01_base_F"], _distance]; switch (toLower _execution) do { case "init": { { //isKindOf Swivel else isKindOf popup if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { _x setVariable ["BIS_leaningEnabled", false, true]; _x setVariable ["BIS_poppingEnabled", false, true]; _x animateSource ["popup_Source", 1]; } else { _x setVariable ["nopop", true, true]; _x animateSource ["terc", 1]; }; }forEach _targets; }; case "setup": { //Make sure _targets are reset before running the setup phase (layerEightProtection) ["reset", _distance, _centerObj] call Fnc_popup; //Inform Instructor who asked for setup that the command was received "Command received - Targets are being setup" remoteExec ["systemChat", remoteExecutedOwner]; { if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { //Is this target told to auto-pop? _x setVariable ["rePop", _popEnabled]; //Raise the target _x animateSource ["popup_Source", 0]; //Making sure leaning is enabled for the animation _x setVariable ["BIS_leaningEnabled", true, true]; //Add Hit EH and store the EH ID on the target _x setVariable [ "HitEH", _x addEventHandler [ "HitPart", { params [ "_target", "", "", "" ]; //If auto-pop was set if (_target getVariable "rePop") then { _target setVariable [ "rePopThread", _target spawn { "AUTOPOP" remoteExec ["systemChat", remoteExecutedOwner]; sleep (1 + random 4); _this animateSource ["popup_Source", 0]; } ]; //No auto-pop set } else { //Bin Hit EH "NOPOP" remoteExec ["systemChat", remoteExecutedOwner]; ((_this select 0) select 0) RemoveEventHandler ["HitPart",0]; //Clean Shit up _target setVariable ["HitEH", nil]; _target setVariable ["rePop", nil]; }; } ] ]; } else { //Is this target told to auto-pop? _x setVariable ["rePop", _popEnabled]; //Raise the target _x animateSource ["terc", 0]; //Add Hit EH and store the EH ID on the target _x setVariable [ "HitEH", _x addEventHandler [ "Hit", { params [ "_target", "", "", "" ]; //If auto-pop was set if (_target getVariable "rePop") then { _target setVariable [ "rePopThread", _target spawn { sleep (1 + random 4); _this animateSource ["terc", 0]; } ]; //No auto-pop set } else { //Bin Hit EH _target removeEventHandler ["Hit", _thisEventHandler]; //Clean Shit up _target setVariable ["HitEH", nil]; _target setVariable ["rePop", nil]; }; } ] ]; }; } forEach _targets; }; case "reset": { //Inform Instructor of action "Command received - Targets are being reset" remoteExec ["systemChat", remoteExecutedOwner]; { //If the target for whatever reason still has an active EH: if !(isNil {_x getVariable "HitEH"}) then { //if auto-pop is set if (_x getVariable "rePop") then { //Is the target currently waiting to rePop? if (!isNil {_x getVariable "rePopThread"} && {!isNull (_x getVariable "rePopThread")}) then { //If it is waiting, terminate the Thread terminate (_x getVariable "rePopThread"); }; _x setVariable ["rePopThread", nil]; }; if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { _x removeEventHandler ["HitPart", _x getVariable "HitEH"]; _x setVariable ["HitEH", nil]; _x setVariable ["rePop", nil]; _x setVariable ["BIS_leaningEnabled", false, true]; _x animateSource ["popup_Source", 1]; } else { _x removeEventHandler ["Hit", _x getVariable "HitEH"]; _x setVariable ["HitEH", nil]; _x setVariable ["rePop", nil]; _x animateSource ["terc", 1]; }; }; //Lower the targets } forEach _targets; }; }; We still hope someone can point us into the right direction as we are somewhat at the end of our capabilities here. KR Pax
  11. Sofar I could make some progress and actually was able to terminate some possibilities for these issues. 1) Popup targets (the normal ones) now behave as expected inculding the repop delay. (Thanks again @Larrow!) 2) I tried to adapt the code from Larrow for the swivel targets based on the unknown authors mentions of "HitPart" for the EH and the weird bracketing of ((_this select 0) select 0) animateSource yadda yadda 3)The code of @pierremgi actually works when put into each swivels init via the editor. On the server the swivels will not go into weird spasms anymore and actually move back and forth as expected. BUT :P 4) Swivels will still not accept the first call of case init (meaning on mission start they just pop up and swivel along probably also ignoring BIS_poppingEnabled false) AND 5) Will not react to any bullet impact at all (which is unusual) AND 6) Will not execute the EventHandler placed on them (tested with Hit and HitPart as EH designator) This is the modified code sofar: /////////////////////////////////////////////////////////////////////////////////////////// //Script to be called by inits or scripts for operating swivel and popup //targets around a specified object "_centerObj". //params: [ShouldTargetsAutoPop?,WhichSwitchShouldRun?,WhatDistanceFromObject?,WhatObject?] //By Pax /////////////////////////////////////////////////////////////////////////////////////////// params [ ["_execution", "init"], ["_distance", 500], ["_centerObj", initCenter], ["_popEnabled", false] ]; _targets = nearestObjects [position _centerObj, ["TargetBase", "Target_Swivel_01_base_F"], _distance]; // Target_Swivel_01_ground_F ??! Target_Swivel_01_base_F switch (toLower _execution) do { case "init": { { //isKindOf Swivel else isKindOf popup if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { _x setVariable ["BIS_poppingEnabled", false, true]; _x animateSource ["terc", 1]; } else { _x setVariable ["nopop", true, true]; _x animateSource ["terc", 1]; }; }forEach _targets; }; case "setup": { //Make sure _targets are reset before running the setup phase (layerEightProtection) ["reset", _distance, _centerObj] call Fnc_popup; //Inform Instructor who asked for setup that the command was received "Command received - Targets are being setup" remoteExec ["systemChat", remoteExecutedOwner]; { if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { //Is this target told to auto-pop? _x setVariable ["rePop", _popEnabled]; //Raise the target _x animateSource ["terc", 0]; //Add Hit EH and store the EH ID on the target _x setVariable [ "HitEH", _x addEventHandler [ "HitPart", { params [ "_target", "", "", "" ]; //If auto-pop was set if (_target getVariable "rePop") then { _target setVariable [ "rePopThread", _target spawn { sleep (1 + random 4); //_this animateSource ["terc", 0]; ((_this select 0) select 0) animate ["Terc",1]; } ]; //No auto-pop set } else { //Bin Hit EH //_target removeEventHandler ["HitPart", _thisEventHandler]; ((_this select 0) select 0) RemoveEventHandler ["HitPart",0]; //Clean Shit up _target setVariable ["HitEH", nil]; _target setVariable ["rePop", nil]; }; } ] ]; } else { //Is this target told to auto-pop? _x setVariable ["rePop", _popEnabled]; //Raise the target _x animateSource ["terc", 0]; //Add Hit EH and store the EH ID on the target _x setVariable [ "HitEH", _x addEventHandler [ "Hit", { params [ "_target", "", "", "" ]; //If auto-pop was set if (_target getVariable "rePop") then { _target setVariable [ "rePopThread", _target spawn { sleep (1 + random 4); _this animateSource ["terc", 0]; } ]; //No auto-pop set } else { //Bin Hit EH _target removeEventHandler ["Hit", _thisEventHandler]; //Clean Shit up _target setVariable ["HitEH", nil]; _target setVariable ["rePop", nil]; }; } ] ]; }; } forEach _targets; }; case "reset": { //Inform Instructor of action "Command received - Targets are being reset" remoteExec ["systemChat", remoteExecutedOwner]; { //If the target for whatever reason still has an active EH: if !(isNil {_x getVariable "HitEH"}) then { //if auto-pop is set if (_x getVariable "rePop") then { //Is the target currently waiting to rePop? if (!isNil {_x getVariable "rePopThread"} && {!isNull (_x getVariable "rePopThread")}) then { //If it is waiting, terminate the Thread terminate (_x getVariable "rePopThread"); }; _x setVariable ["rePopThread", nil]; }; if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { _x removeEventHandler ["HitPart", _x getVariable "HitEH"]; _x setVariable ["HitEH", nil]; _x setVariable ["rePop", nil]; _x animateSource ["terc", 1]; } else { _x removeEventHandler ["Hit", _x getVariable "HitEH"]; _x setVariable ["HitEH", nil]; _x setVariable ["rePop", nil]; _x animateSource ["terc", 1]; }; }; //Lower the targets } forEach _targets; }; }; Kind regards Pax
  12. Update: since Larrows changes the EH now fire for the regular popup targets and the delay is also working, which is wunderful. This is in Editor multiplayer test AND on a dedicated test server of our community across the globe. Awesome! Swivel targets on the other hand are a mystery to me and are probably borked as fuck when it comes to MP compatibility. In local editor test in multiplayer swivel targets via the current script state start in a swining state... left right, but when shot, will absolutely not react. In state case "setup" they will just continue swinging but due to their different way of being in need of called they now also have no Hit EH (afaik the EH needs to be called HitPart with swivel targets). On the dedicated test server swivels start the same as on local but their "swinging" is reduced to a mere spasm, it will continue to spawms on case "setup" as well. Therefore it can be said that the solution provided on steam to do this here: if (!isDedicated) then { { _x setVariable ["BIS_exitScript", false, true]; } forEach entities [ ["Target_Swivel_01_ground_F", "Land_Target_Swivel_01_F"],[] ]; }; Doesn't do shit to fix the BIS swivels MP issues. Current conclusion until opposed: Dop not even touch swivels targets with a 10 feet pole. Borked AF. As per BIS tracker borked since years and no fix sofar. Thanks everyone for your great help! I will stay with normal popuptargets for now until someone can provide a fix by BIS or per code.
  13. EDIT: Issue found, I did fuck up the eventhandlers {} brackets. Hi @Larrow I read your suggestions line by line and adapted most of it into my script for now. I think there might still be adaptions necessary for the eventHandlers based on if the targets are isKindOf (swivelthingy) as EH for these need to be called and removed differently than normal popup targets if I can trust what others had to do in their scripts in the past. My Init.sqf currently looks like this: #define framework #include "core\script_macros.hpp" #include "core\init.sqf" //DO NOT REMOVE #include "customization\settings.sqf" //DO NOT REMOVE #include "core\dia\debug\dia_debug.sqf" //DO NOT REMOVE #include "customization\addAction.sqf" //give instructors control over all popuptargets //Following code is apparently necessary to make swivels somewhat working in multiplayer if (!isDedicated) then { { _x setVariable ["BIS_exitScript", false, true]; } forEach entities [ ["Target_Swivel_01_ground_F", "Land_Target_Swivel_01_F"],[] ]; }; Fnc_popup = compile preprocessFileLineNumbers "customization\popups.sqf"; if (isServer) then { "hide" execVM "customization\arrows.sqf"; // [false,"init",500,initCenter] remoteExec ["Fnc_popup", 2]; _nul = [] spawn { waitUntil {time > 0}; [] call Fnc_popup; }; "" call FNC_StartingCount; //DO NOT REMOVE [] spawn { //Spawns code running in parallel while {!FW_MissionEnded} do { //Loops while the mission is not ended #include "customization\endConditions.sqf" //DO NOT REMOVE //The time limit in minutes variable called FW_TimeLimit is set in customization/settings.sqf, to disable the time limit set it to 0 if ((time / 60) >= FW_TimeLimit && FW_TimeLimit != 0) exitWith { //It is recommended that you do not remove the time limit end condition FW_TimeLimitMessage call FNC_EndMission; }; }; }; }; #include "modules\modules.sqf" //DO NOT REMOVE #include "core\postChecks.sqf" //DO NOT REMOVE My AddAction looks like this. It threw some errors due to _player and that variable being undefined so I reverted back to 'player' as that worked inbefore the changes. //Fnc_popup = compile preprocessFileLineNumbers "customization\popups.sqf"; /*if (!isDedicated) then { waitUntil { (player == player) }; if (player getVariable "isInstructor") then { conrepboard addAction ["<t color='#FF2222'>Reveal Arrows",{"reveal" execVM "customization\arrows.sqf";}]; conrepboard addAction ["<t color='#FF2222'>Hide Arrows",{"hide" execVM "customization\arrows.sqf";}]; arBoard addAction ["<t color='#FF2222'>Raise Bunker Targets",{[true,"setup",15,bnkTgts] remoteExec ["Fnc_popup", 2];}]; arBoard addAction ["<t color='#FF2222'>Lower Bunker Targets",{[false,"reset",15,bnkTgts] remoteExec ["Fnc_popup", 2];}]; grnBoard addAction ["<t color='#FF2222'>Raise Trench Targets",{[false,"setup",15,grnTgts] remoteExec ["Fnc_popup", 2];}]; grnBoard addAction ["<t color='#FF2222'>Lower Trench Targets",{[false,"reset",15,grnTgts] remoteExec ["Fnc_popup", 2];}]; bldBoard addAction ["<t color='#FF2222'>Raise House Targets",{[false,"setup",15,hseTgts] remoteExec ["Fnc_popup", 2];}]; bldBoard addAction ["<t color='#FF2222'>Lower House Targets",{[false,"reset",15,hseTgts] remoteExec ["Fnc_popup", 2];}]; grnPraBoard addAction ["<t color='#FF2222'>Raise Practice Targets",{[false,"setup",3,grnPraTgts] remoteExec ["Fnc_popup", 2];}]; grnPraBoard addAction ["<t color='#FF2222'>Lower Practice Targets",{[false,"reset",3,grnPraTgts] remoteExec ["Fnc_popup", 2];}]; }; }; */ if (!isDedicated) then { // params ["_player"]; if (player getVariable ["isInstructor", false]) then { conrepboard addAction ["<t color='#FF2222'>Reveal Arrows",{"reveal" execVM "customization\arrows.sqf";}]; conrepboard addAction ["<t color='#FF2222'>Hide Arrows",{"hide" execVM "customization\arrows.sqf";}]; arBoard addAction ["<t color='#FF2222'>Raise Bunker Targets",{["setup",15,bnkTgts,true] remoteExec ["Fnc_popup", 2];}]; arBoard addAction ["<t color='#FF2222'>Lower Bunker Targets",{["reset",15,bnkTgts,false] remoteExec ["Fnc_popup", 2];}]; grnBoard addAction ["<t color='#FF2222'>Raise Trench Targets",{["setup",15,grnTgts,false] remoteExec ["Fnc_popup", 2];}]; grnBoard addAction ["<t color='#FF2222'>Lower Trench Targets",{["reset",15,grnTgts,false] remoteExec ["Fnc_popup", 2];}]; bldBoard addAction ["<t color='#FF2222'>Raise House Targets",{["setup",15,hseTgts,false] remoteExec ["Fnc_popup", 2];}]; bldBoard addAction ["<t color='#FF2222'>Lower House Targets",{["reset",15,hseTgts,false] remoteExec ["Fnc_popup", 2];}]; grnPraBoard addAction ["<t color='#FF2222'>Raise Practice Targets",{["setup",3,grnPraTgts,false] remoteExec ["Fnc_popup", 2];}]; grnPraBoard addAction ["<t color='#FF2222'>Lower Practice Targets",{["reset",3,grnPraTgts,false] remoteExec ["Fnc_popup", 2];}]; }; }; The popups.sqf was changed to look nearly alike yours. As said I might have to do some more adaption and if's for the swivels, but I already ran into a script error that I can not find as for what I can see there, there is no missing bracket whatsoever: /////////////////////////////////////////////////////////////////////////////////////////// //Script to be called by inits or scripts for operating swivel and popup //targets around a specified object "_centerObj". //params: [ShouldTargetsAutoPop?,WhichSwitchShouldRun?,WhatDistanceFromObject?,WhatObject?] //By Pax /////////////////////////////////////////////////////////////////////////////////////////// params [ ["_execution", "init"], ["_distance", 500], ["_centerObj", initCenter], ["_popEnabled", false] ]; _targets = nearestObjects [position _centerObj, ["TargetBase", "Target_Swivel_01_base_F"], _distance]; switch (toLower _execution) do { case "init": { { //isKindOf Swivel else isKindOf popup if (typeOf _x isKindOf "Target_Swivel_01_base_F") then { _x setVariable ["BIS_poppingEnabled", false, true]; } else { _x setVariable ["nopop", true, true]; }; // Lower all targets defined in array _targets _x animateSource ["terc", 1]; }forEach _targets; }; case "setup": { //Make sure _targets are reset before running the setup phase (layerEightProtection) ["reset", _distance, _centerObj] call Fnc_popup; //Inform Instructor who asked for setup that the command was received "Command received - Targets are being setup" remoteExec ["systemChat", remoteExecutedOwner]; { //Is this target told to auto-pop? _x setVariable ["rePop", _popEnabled]; //Raise the target _x animateSource ["terc", 0]; //Add Hit EH and store the EH ID on the target _x setVariable [ "HitEH", _x addEventHandler [ "Hit", params [ "_target", "", "", "" ]; //If auto-pop was set if (_target getVariable "rePop") then { _target setVariable [ "rePopThread", _target spawn { sleep (1 + random 4); _this animateSource ["terc", 0]; }; ]; //No auto-pop set } else { //Bin Hit EH _target removeEventHandler ["Hit", _thisEventHandler]; //Clean Shit up _target setVariable ["HitEH", nil]; _target setVariable ["rePop", nil]; }; ] ]; } forEach _targets; }; case "reset": { //Inform Instructor of action "Command received - Targets are being reset" remoteExec ["systemChat", remoteExecutedOwner]; { //If the target for whatever reason still has an active EH: if !(isNil {_x getVariable "HitEH"}) then { //if auto-pop is set if (_x getVariable "rePop") then { //Is the target currently waiting to rePop? if (!isNil {_x getVariable "rePopThread"} && {!isNull (_x getVariable "rePopThread")}) then { //If it is waiting, terminate the Thread terminate (_x getVariable "rePopThread"); }; _x setVariable ["rePopThread", nil]; }; _x removeEventHandler ["Hit", _x getVariable "HitEH"]; _x setVariable ["HitEH", nil]; _x setVariable ["rePop", nil]; }; //Lower the targets _x animateSource ["terc", 1]; } forEach _targets; }; }; /* private _targets = nearestObjects [position _centerObj, ["TargetBase"], _distance]; private _SwivelTargets = nearestObjects [position _centerObj, ["Target_Swivel_01_base_F"], _distance]; switch (_execution) do { case "init": { { _x setVariable ["nopop", true]; _x animateSource ["terc",1] } forEach _targets; { _x setVariable ["BIS_poppingEnabled", false]; // _x setVariable ["BIS_leaningEnabled", false]; <-- aparently disables any animation physics, thx BI -.- _x animateSource ["terc",1]; } forEach _SwivelTargets; }; case "setup": { "setup called" remoteExec ["systemChat"]; // Normal Popuptargets if (_popEnabled) then { "popup first condition" remoteExec ["systemChat"]; { _x setVariable ["nopop", false]; _x animateSource ["terc",0]; _x addEventHandler [ "Hit", { "popup first condition EH animate" remoteExec ["systemChat"]; (_this select 0) animateSource ["terc",1]; (_this select 0) setVariable ["popdelay", 1 + (random 5)]; // [{ // (_this select 0) animateSource ["terc",0]; // "popup first condition EH in CBA" remoteExec ["systemChat"]; // }, // [_this], 2 + (random 3)] call CBA_fnc_waitAndExecute; } ] } forEach _targets; } else { "popup second condition" remoteExec ["systemChat"]; { _x animateSource ["terc",0]; _x addEventHandler [ "Hit", { (_this select 0) animateSource ["terc",1]; (_this select 0) removeEventHandler ["Hit",0]; } ] } forEach _targets; }; // Swivel targets if (_popEnabled) then { "swivel first condition" remoteExec ["systemChat"]; { _x setVariable ["BIS_poppingEnabled", true]; _x setVariable ["BIS_leaningEnabled", true]; _x animateSource ["terc",0]; _x addEventHandler [ "HitPart", { ((_this select 0) select 0) animateSource ["terc",1]; ((_this select 0) select 0) setVariable ["popdelay", 1 + (random 5)]; // [{ // ((_this select 0) select 0) animateSource ["terc",0]; // }, // [_this], 2 + (random 3)] call CBA_fnc_waitAndExecute; } ] } forEach _SwivelTargets; } else { "swivel second condition" remoteExec ["systemChat"]; { _x setVariable ["BIS_leaningEnabled", true]; _x animateSource ["terc",0]; _x addEventHandler [ "HitPart", { ((_this select 0) select 0) setVariable ["BIS_leaningEnabled", false]; ((_this select 0) select 0) animateSource ["terc",1]; ((_this select 0) select 0) removeEventHandler ["HitPart",0]; } ] } forEach _SwivelTargets; }; }; case "reset": { "reset called" remoteExec ["systemChat"]; { _x setVariable ["nopop", true]; _x removeEventHandler ["Hit",0]; _x animateSource ["terc",1]; } forEach _targets; { _x setVariable ["BIS_poppingEnabled", false]; _x setVariable ["BIS_poppingEnabled", false]; _x RemoveEventHandler ["HitPart",0]; _x animateSource ["terc",1]; } forEach _SwivelTargets; }; }; */ Greetings Pax
×