He-Man Posted July 21, 2017 Report Share Posted July 21, 2017 If somebody is also looking for a script function to disable the Radar of Vehicles: { _sensor = _x; if (_sensor isequaltype []) then { if (count _sensor > 0) then { _sensor = _x select 0; }; }; _vehicle enableVehicleSensor [_sensor,false]; } foreach (listVehicleSensors _vehicle); natoed, Drokz, Donnovan and 2 others 3 2 Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 18, 2017 Report Share Posted August 18, 2017 '_DZ' variants of vehicles come without radar as well. EX: MV22_DZ Donnovan 1 Link to comment Share on other sites More sharing options...
0 salival Posted August 18, 2017 Report Share Posted August 18, 2017 8 hours ago, Blestda86ta said: '_DZ' variants of vehicles come without radar as well. EX: MV22_DZ This is an A3 thread :) Donnovan 1 Link to comment Share on other sites More sharing options...
0 Donnovan Posted December 14, 2020 Report Share Posted December 14, 2020 Thanks for this code. The elements inside listVehicleSensors _vehicle can be a string instead of an array? What the anti radiation sensors do? Can't find them here https://community.bistudio.com/wiki/Arma_3_Sensors He-Man, do you have radars off in your server? Link to comment Share on other sites More sharing options...
0 He-Man Posted December 17, 2020 Author Report Share Posted December 17, 2020 @Donnovan in general it returns an array with sub-arrays. Example: [["IRSensorComponent","IRSensorComponent"],["VisualSensorComponent","VisualSensorComponent"],["PassiveRadarSensorComponent","PassiveRadarSensorComponent"],["ActiveRadarSensorComponent","ActiveRadarSensorComponent"],["AntiRadiationSensorComponent","PassiveRadarSensorComponent"],["LaserSensorComponent","LaserSensorComponent"],["NVSensorComponent","NVSensorComponent"]] But the wiki says it should be an array with strings... Return Value: Array of Strings So I have added a check, if it is an array or not... Not sure what the anti rad sensor do. Yes, we are running this script on our Server within the GetInMan EH Link to comment Share on other sites More sharing options...
Question
He-Man
If somebody is also looking for a script function to disable the Radar of Vehicles:
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now