Home   Help Search Login Register  

Author Topic: Is There a way to turn off the radar from vehicles by script  (Read 1852 times)

0 Members and 1 Guest are viewing this topic.

Offline Zonekiller

  • Members
  • *
    • Zonekiller Page
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

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
You can block the radar with an image.
Make sure to use the new safeZone thingy to work for all resolutions and IGUI size.

Offline Zonekiller

  • Members
  • *
    • Zonekiller Page
thanks
got that worked out now by doing just that..

:)





Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
You could disable the tab key action and RMB lock key action via displayEH if needed?

Offline Zonekiller

  • Members
  • *
    • Zonekiller Page
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
« Last Edit: 08 Jan 2010, 07:06:00 by Zonekiller »

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
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:

Code: [Select]
AAS_KeyHandler = compile(preprocessFileLineNumbers "keypress.sqf");
(findDisplay 46) displayAddEventHandler ["KeyDown","_this call AAS_KeyHandler"];

Code: [Select]
_keypressed = _this select 1;
if (_keypressed in actionKeys "ForceCommandingMode") then {_return = true;};
_return