| Pages: 1 :: [one page] |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

liaana Dallocort
Powder and Ball Alchemists Union The Predictables
0
|
Posted - 2014.09.04 23:30:00 -
[1] - Quote
I know alot has been said about keyboard scripts in eve. I am working on one that allows g1-3 to be remapped to align, warp to, and dock and then show on the LCD panel what is going on.
I do not think it is doing anything wrong since it is 1 push for 1 event
function OnEvent(event, arg) --OutputLogMessage("event = %s, arg = %s\n", event, arg); mkey = GetMKeyState(); if (event == "G_RELEASED" and arg == 1 and mkey == 3) then -- Pressed G1 key while M3 is active press and release A - Align to target PressAndReleaseKey("a"); Sleep(5); ClearLCD(); OutputLCDMessage("Aligning to Target",2000); end if (event == "G_RELEASED" and arg == 2 and mkey == 3) then -- Pressed G1 key while M3 is active press and release S - Warp to 0 PressAndReleaseKey("s"); Sleep(5); ClearLCD(); OutputLCDMessage("Warping to 0 Target",2000); end if (event == "G_RELEASED" and arg == 3 and mkey == 3) then -- Pressed G1 key while M3 is active press and release D - Jump or Dock PressAndReleaseKey("d"); Sleep(5); ClearLCD(); OutputLCDMessage("Jumping / Docking",2000); end if (event == "G_RELEASED" and arg == 4 and mkey == 3) then -- Pressed G1 key while M3 is active press and release D - Jump or Dock --PressAndReleaseKey("D"); --Sleep(5); ClearLCD(); OutputLCDMessage("TESTING",2000); end end ---------------------------------------------------------------------------------------------------------------------------------------------- |

liaana Dallocort
Parallax Shift The Periphery
0
|
Posted - 2014.09.04 23:30:42 -
[2] - Quote
I know alot has been said about keyboard scripts in eve. I am working on one that allows g1-3 to be remapped to align, warp to, and dock and then show on the LCD panel what is going on.
I do not think it is doing anything wrong since it is 1 push for 1 event
function OnEvent(event, arg) --OutputLogMessage("event = %s, arg = %s\n", event, arg); mkey = GetMKeyState(); if (event == "G_RELEASED" and arg == 1 and mkey == 3) then -- Pressed G1 key while M3 is active press and release A - Align to target PressAndReleaseKey("a"); Sleep(5); ClearLCD(); OutputLCDMessage("Aligning to Target",2000); end if (event == "G_RELEASED" and arg == 2 and mkey == 3) then -- Pressed G1 key while M3 is active press and release S - Warp to 0 PressAndReleaseKey("s"); Sleep(5); ClearLCD(); OutputLCDMessage("Warping to 0 Target",2000); end if (event == "G_RELEASED" and arg == 3 and mkey == 3) then -- Pressed G1 key while M3 is active press and release D - Jump or Dock PressAndReleaseKey("d"); Sleep(5); ClearLCD(); OutputLCDMessage("Jumping / Docking",2000); end if (event == "G_RELEASED" and arg == 4 and mkey == 3) then -- Pressed G1 key while M3 is active press and release D - Jump or Dock --PressAndReleaseKey("D"); --Sleep(5); ClearLCD(); OutputLCDMessage("TESTING",2000); end end ---------------------------------------------------------------------------------------------------------------------------------------------- |

Shiva Darksun
EVE-RO Fidelas Constans
36
|
Posted - 2014.11.07 15:43:33 -
[3] - Quote
Looks interesting... where do I paste this? I have the software but I don't see a place where I could paste this script. Yeah, I'm an idiot :) |

Shiva Darksun
EVE-RO Fidelas Constans
36
|
Posted - 2014.11.07 23:00:31 -
[4] - Quote
Tested the script and it works very well. I modified it a bit so that M1 is used instead of M3 but otherwise all's good. Thanks! |
| |
|
| Pages: 1 :: [one page] |