Arma 3
starlord1214 Aug 16, 2019 @ 8:56pm
what is the Script for a emp blast that works on Lights, Vehicles, and Equipment
i got one of the emp Scripts For Vehicles and lights, but what about Equipment like radios, Weapon Optics, GPS, Night Vision, Thermal Image and other Equipment? here one of the Scripts that i found so far.


0=[thisList select 0]spawn
{
_AOE = _this select 0; hint format ["%1",_AOE];
_Lights = nearestObjects [_AOE, ["Lamps_Base_F", "PowerLines_base_F","PowerLines_Small_base_F","PowerLines_Wires_base_F","Land_PowerPoleWooden_F"], 1000];
_DamageOFF = 0.95;
_DamageON = 0.00;
_Vehicles =nearestObjects [_AOE, ["Car","Helicopter","Plane","Ship","Tank","Autonomous","TrackedAPC ","WheeledAPC"], 1000,true];

_CountLights = count _Lights;
(_Lights select 0) say3D "electricity_loop";
sleep (floor(random 3) +2);

for "_i" from 0 to _CountLights do
{
if (getDammage (_Lights select _i) < 0.90) then
{
(_Lights select _i) setDamage _DamageOFF;
sleep 0.1;
(_Lights select _i) setDamage _DamageON;
sleep 0.1;
(_Lights select _i) setDamage _DamageOFF;
sleep 0.1;
};
};

{
if (true) then
{
driver _x action ["LightOff",_x];
_x setHitPointDamage ["HitEngine", 1];
_x setHitPointDamage ["HitEngine1", 1];
_x setHitPointDamage ["HitEngine2", 1];
_x setHitPointDamage ["HitAvionics", 1];

if (_x isKindOf "Plane")then{_x setFuel 0;};

};

} forEach _Vehicles;

}


if you guys know what Script to use anychance you can help me?
< >
Showing 1-4 of 4 comments
Dankan37 Aug 17, 2019 @ 4:00am 
You might need these for thermals and NVG:
https://community.bistudio.com/wiki/disableTIEquipment
https://community.bistudio.com/wiki/disableNVGEquipment

For radio I'd use:
https://community.bistudio.com/wiki/enableRadio

I'm not sure about this:
https://community.bistudio.com/wiki/showGPS

For the guns I don't know if you are able to disable the optics.
Dankan37 Aug 17, 2019 @ 6:33am 
Yes, I'd suggest you to use the command:
https://community.bistudio.com/wiki/unlinkItem
starlord1214 Aug 17, 2019 @ 1:32pm 
so there no way to make a emp script to disable Radios, Weapon Optics, GPS, Night Vision, Thermal Image and other Equipment?
Dankan37 Aug 18, 2019 @ 10:01am 
I'm not posting any scripts here, just the indications, people won't learn if you make their code.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Aug 16, 2019 @ 8:56pm
Posts: 4