PostQuick Basic Script Help? Thanks

Posts 1–2 of 2 · Page 1 of 1
Quick Basic Script Help? Thanks
Basically my friend needs to change the scroll lock key to insert key to activate the script.

I know I have to change something below but I don't know what, I already tried to change the " if (_key == 70) then //Scroll Lock " to " if (_key == 210) then //Scroll Lock" and "if (_key == 210) then //Ins" But still couldn't get it working.

Code:
titleText ["Press Scroll to have teh power!","PLAIN DOWN"]; titleFadeOut 4;
closedialog 0;
    cutText ['','PLAIN',0];
    endloadingscreen;

    TAG_onKeyDown =
{
     private ["_key", "_return"];
     _shift = _this select 2;
     _key = _this select 1;
     _return = false;
     if (_key == 70) then //Scroll Lock
     {

    _nill= execvm "\AJ\start2.sqf";

               _shift = nil;

     };
    _return
};


waitUntil {!isNull (findDisplay 46)};
(findDisplay 46) displayAddEventHandler ["keyDown", "_this call TAG_onKeyDown"];

execvm "\AJ\hackstartup.sqf";
useful link for key: DIK KeyCodes - BISim Wiki

Any help appreciated, thanks.
herp


..................
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?