• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Is there a way to click somewhere on the screen that is not an object/door?

calaxa

Member
Joined
Jul 21, 2014
RedCents
1,797¢
Playing around with the old HA scripts again and trying to write something for Disrupting the Ritual. I wanted to know if there is a way to click somewhere on the screen (specifically the graves). They don't appear as objects or doors so it makes it a bit difficult unless I just don't know what I am looking for.

Any help appreciated.
 
Playing around with the old HA scripts again and trying to write something for Disrupting the Ritual. I wanted to know if there is a way to click somewhere on the screen (specifically the graves). They don't appear as objects or doors so it makes it a bit difficult unless I just don't know what I am looking for.

Any help appreciated.

For those graves you could walk to their exact location, look all the way down, and click in the middle of your screen. You could probably also use AutoIT's _ImageSearch() to look for it. _PixelSearch would probably not work since there's a lot of similar colors. There may be a better way that I'm not aware of though. :)
 
Not what I am looking. I'm looking for a command to click analogous to /notify or /itemnotifiy

I don't think I can use that since it's not a window and I don't think it's appearing as an object. I need the actual mouse click on screen command.
 
/click left|right [corpse|target|windowloc] [ [+-]x [+-]y ] ]
Clicks the left/right mouse button at coordinates or a defined location.

Examples
/click left Performs a left mouse click at the current mouse position
/click left 100 100 Performs a left mouse click at 100 100
/click left +30 -30 Performs a left mouse click 30 pixels right and 30 pixels up from the current location
/click right target Performs a right click on your current target

Command to find mouse llocation on screen
Rich (BB code):
/echo ${MacroQuest.MouseX} - ${MacroQuest.MouseY}
 
those coordinates are absolute coordinates on screen? So if this is an automated macro, I'm going to have to guess my current viewpoint?
 
Yes they are based on your screen resolution. e.g. 1920 x 1080.
So 960, 540 would be your center of the screen.

It also changes on your screen resolution I would pick a location to move to then go to first camera view and look down to try and get a consistent location.

Something like the code below in you macro
Rich (BB code):
    /keypress FIRST_PERSON_CAMERA hold
    /delay 2
    /keypress FIRST_PERSON_CAMERA
    /delay 3
    /look -60

You can adjust the -60 to change how far down you are looking. first person puts you at 0.
 
if it is a click in game, then it is an object of some sort. it is likely counted as a switch. so you should be able to id/target via the switch or /doortarget options, which also let you manipulate them via command.

It would look something like this in a macro/include:
Rich (BB code):
#Event DoorClick "#*#doorclick #1#"

Sub Event_DoorClick(line,who)
/doortar
/if (${Me.Name.Equal[who]}) {
	/if (${If[${Switch.ID} && ${Switch.Distance}<250 && ${String[${MoveTo}].Equal[OFF]},1,0]}) {
		/squelch /face door nolook
		/moveto loc ${Switch.Y} ${Switch.X} ${Switch.Z}
		/delay 5
		/delay 10s !${Me.Moving}
		/moveto off
		/click left door
	}
}

Then you would just make a hotkey or manually type:
/g doorclick petesampras

and the character named petesampras would go click the nearest door within 250 radius
 
Thanks Pete...problem was it's not an object but will use the code above for future reference
 
Thanks Pete...problem was it's not an object but will use the code above for future reference
If you are clicking on it in game to trigger something, it IS an object. You just need to find out what kind. You cannot interact with something other than yourself without it being an object (be it a door, npc, switch, etc). Your likely problem is a lot of objects are auto filtered out from spawn search. So you need to access it directly via /doortarget or via a spawn search looking specifically for it.
 
its the dirt piles in the heroic disrupting the ritual you gotta click them to spawn skeletons or you cannot complete the heroic.
 
OK I think I've found what you are talking about....I messed up my maps but I am seeing them appear as doors. Now just have to figure out how to target them correctly and also fix my maps.
 
OK I think I've found what you are talking about....I messed up my maps but I am seeing them appear as doors. Now just have to figure out how to target them correctly and also fix my maps.
i think /doortarget should work. you can use all the same /target options like id and whatnot, but i dont know if "/doortarget next" works. it should just be the closest one though id assume. ie. just use that snippet i posted and it should work. might need to increase range from 250.
 
Question - Is there a way to click somewhere on the screen that is not an object/door?

Users who are viewing this thread

Back
Top
Cart