How to project Eq2 Actor world coordinates onto screen coordinates?

mistahmikey

Active Member
I am interested in automating certain zoning actions where you must right click a "special" zone actor and then select the particular place to zone from a popup list. Its easy enough to retrieve the "special" zone actor, but I have no idea how I would project its location in the game world onto the 2d screen space so I can position the mouse cursor over it and right click. Any way to do this?
 

Amadeus

The Maestro
Staff member
Have you tried the "DoubleClick" method of the actor datatype to see if it might work?
 

mistahmikey

Active Member
Have you tried the "DoubleClick" method of the actor datatype to see if it might work?

Yes, I have tried DoubleClick - it does nothing. You must hover the mouse over the teleport graphic and then right click to pop up a list of destinations. Then you must select one to actually teleport.

I had hoped the popup might be considered a "Choice Window", but when I registered an event handler for one, it does not fire when I manually cause the popup to occur. So this may all be moot if there is no way to get a handle on the popup options and select the appropriate one.
 

Kannkor

Ogre
Yes, I have tried DoubleClick - it does nothing. You must hover the mouse over the teleport graphic and then right click to pop up a list of destinations. Then you must select one to actually teleport.
False. None of that is required. That is how a human would do it, yes.

All 'right click-this option' to the game is an apply_verb.


uiyice gave you an example above.
 

Sethric

Active Member
ah you're trying to zone into a place.
The old COD script had an example.
To zone into cove of decay out of that list of zones of decay you do this:

Code:
		Actor[name,zone_to_steppes_epic01_cove_right]:DoubleClick
		wait 50
		EQ2UIPage[popup,ZoneTeleporter].Child[list,DestinationList]:HighlightRow[1]
		wait 20
		EQ2:ConfirmZoneTeleporterDestination
Pretty sure that's what you're trying to do.
 

Kannkor

Ogre
ah you're trying to zone into a place.
The old COD script had an example.
To zone into cove of decay out of that list of zones of decay you do this:

Code:
		Actor[name,zone_to_steppes_epic01_cove_right]:DoubleClick
		wait 50
		EQ2UIPage[popup,ZoneTeleporter].Child[list,DestinationList]:HighlightRow[1]
		wait 20
		EQ2:ConfirmZoneTeleporterDestination
Pretty sure that's what you're trying to do.
Sigh... No.

The answer was already given, it's applyverb.

Ignore what Sethric has written, has it's completely unrelated to your question and won't help in any way shape or form.
 
Top Bottom