Jump to content

Automatically highlight Loot/Ore/Etc


TrickyNick

Recommended Posts

Sorry, not exactly sure what the correct wording is and probably why I can't find a mod for it. I'm looking for a mod that will show up on minimap when I'm close, like when I press the V button, but instead of constantly hitting V, i'd like it to auto-search or to just show up when I'm close.

Link to comment
Share on other sites

Fair enough. I'll just keep doing what I have been.

 

Use AutohotKeys to press the V key for me every 1/4 second or so. It works, for the most part but there are times when it pauses for awhile.

 

If someone here is able to read and modify the code better, please do. I took the code from AHK's website and changed it. I understand a little bit of coding so I was able to get it to do what I wanted, but I don't understand everything that it does.

 

Also, when the game doesn't have focus it still presses the V key. So if you can get that to work, it would be awesome.

;===============================================================================
; AutoHotkey      Version: 1.0.48.5
; Language:       English
; Platform:       Win9x/NT/XP/Vista/Win7
;===============================================================================

;---------------------------------------
;   Script Initialization Stuff (optional)
;---------------------------------------
#SingleInstance force
#InstallKeybdHook
#NoEnv
SendMode Input

bActivate := 0


;---------------------------------------
;   Create a timer to constantly check
;   if game is the active process or not
;   since we want our remapping to only
;   be applied in-game, not outside the
;   game.
;---------------------------------------
SetTimer PollForApp
return

PollForApp:
 ; Get the process name of the active window (i.e. Notepad.exe)
   WinGet szProcessName, ProcessName, A
   if szProcessName = DragonAgeInquisition.exe
   {
       Suspend, off
   }
   else
   {
       Suspend, on
   }
   return


;---------------------------------------
;   Setup key binds
;---------------------------------------
v::
    bActivate := !bActivate
    return

v up::
    while bActivate
    {
        sendinput v
        Sleep 30
    }
    ;sendinput v
    return
;===============================================================================
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...