Results 1 to 2 of 2
  1. #1
    Macrophage's Avatar
    Join Date
    Sep 2020
    Gender
    female
    Posts
    1
    Reputation
    10
    Thanks
    0

    Post Fortnite Keyboard Macros

    Hello,

    I already tried to post my thread but then I got the logout message and my thread was gone. I actually explained all things briefly and very understandable even for users, who simply don't want to read endless documentations!
    Anyway, I'm too lazy to re-do that again. Therefore, here's the code (Add. note: I calculated the hex code of the Appendix into digits via calc.exe from Windows):
    Code:
    function OnEvent(event, arg) --Any input device
    	if(event == "PROFILE_ACTIVATED") then
    	--profile has been activated
    	end
    	if(event == "PROFILE_DEACTIVATED") then
    	--profile has been deactivated
    	end
    
    	if(event == "G_PRESSED" and arg == 18) then --check if G18 is pressed
    		--You have to make the beginning by yourself ingame i.e. make a simple stair and a the first roof.
    		--The rest is automatically done by the script.
    		PressAndReleaseKey(47) --Stair
    		Sleep(60)
    		PressAndReleaseMouseButton(1)
    		Sleep(10)
    		PressAndReleaseKey(48) --Roof
    		Sleep(60)
    		PressAndReleaseMouseButton(1)
    		Sleep(10)
    		PressAndReleaseKey(45) --Wall
    		Sleep(50)
    		PressAndReleaseMouseButton(1)
    		Sleep(10)
    		PressAndReleaseKey(46) --Floor
    		Sleep(50)
    		PressAndReleaseMouseButton(1)
    		Sleep(10)
    		PressAndReleaseKey	(47) --Stair
    		Sleep(20)
    		PressAndReleaseMouseButton(1)			
    	end
    end
    
    --Use the G-Series LUA-API Docs to understand what's going on.
    --Link: https://douile.******.io/logitech-toggle-keys/APIDocs.pdf
    Sincerely Macrophage.

  2. #2
    AsianDad's Avatar
    Join Date
    Sep 2020
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Confused

    What exactly is your question my friend? This looks fairly self-explanatory.

Similar Threads

  1. [Outdated] Fortnite Logitech Macro for fast mining ( Cancel pickaxe animation )
    By patrickgio in forum Fortnite Hacks & Cheats
    Replies: 60
    Last Post: 05-01-2018, 07:52 PM
  2. You ask, I'll Provide (Keyboard Macros Only)
    By fzr90 in forum Rainbow Six: Siege Discussions & Help
    Replies: 9
    Last Post: 03-09-2018, 06:09 AM
  3. [Help Request] Keyboard Macro's to Left Mouse Button (LMB)
    By dz0 in forum Call of Duty Black Ops 2 Help
    Replies: 12
    Last Post: 08-12-2013, 06:35 AM
  4. KeyBoard Macro?
    By Kljjii in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 07-15-2012, 11:07 PM
  5. [Help Request] keyboard macro F5
    By joaoramos in forum Alliance of Valiant Arms (AVA) Help
    Replies: 12
    Last Post: 07-14-2012, 11:23 AM