OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Zonekiller on 06 Jan 2010, 11:20:12
-
Is There a way to turn off the radar from vehicles by script
--------------------------------------------------------------------------------
I want to make a very "use your eyes" type of mission
and would like to have search vehicles without radar
i guess i will have to work around the missle lock but first things first
Ta
-
You can block the radar with an image.
Make sure to use the new safeZone thingy to work for all resolutions and IGUI size.
-
thanks
got that worked out now by doing just that..
:)
-
You could disable the tab key action and RMB lock key action via displayEH if needed?
-
that sounds good but i have no idea what your saying
RMB lock key action ?????
would this stop you from seeing the radar of stop you being able to change weapons so you could not lock on ???
just a little more detail if you can , thanks
-
In general you can lock units with certain weapons with RMB (right mouse button)
or Tab key.
If you add a displayAddEventhandler to the standard game display (46),
you can easily disable any key action:
AAS_KeyHandler = compile(preprocessFileLineNumbers "keypress.sqf");
(findDisplay 46) displayAddEventHandler ["KeyDown","_this call AAS_KeyHandler"];
_keypressed = _this select 1;
if (_keypressed in actionKeys "ForceCommandingMode") then {_return = true;};
_return