He-Man 422 Report post 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); 3 2 natoed, Drokz, Rezusty and 2 others reacted to this Quote Share this post Link to post Share on other sites
0 Blestda86ta 3 Report post Posted August 18, 2017 '_DZ' variants of vehicles come without radar as well. EX: MV22_DZ 1 Donnovan reacted to this Quote Share this post Link to post Share on other sites
0 salival 755 Report post 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 :) 1 Donnovan reacted to this Quote Share this post Link to post Share on other sites
0 Donnovan 211 Report post 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? Quote Share this post Link to post Share on other sites
0 He-Man 422 Report post 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 Quote Share this post Link to post Share on other sites
If somebody is also looking for a script function to disable the Radar of Vehicles:
Share this post
Link to post
Share on other sites