WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Calling a Game event ?? (https://www.wowinterface.com/forums/showthread.php?t=1441)

Maglore 08-05-05 05:33 PM

Calling a Game event ??
 
Is it even possible to call a game event? :eek:

I am wanting to make a mod and have the SLASH comands end with a Failed event like SPELLCAST_FAILED or something. :rolleyes:

But i cant figured out how is it even possible to trigger a game event ? :(

If it is how ? :cool:

Gello 08-05-05 09:38 PM

Can you give a specific example of what you want to do?

If by slash command you mean macro, you can't (easily) react to events like SPELLCAST_FAILED with a macro since events get sent to frames which are made in an addon's xml.

Littlejohn 08-06-05 06:45 AM

You want to generate a synthetic event to be processed by an XML frame's OnEvent code? (A little like XSendEvent from X11 fame, right? Might not help if you don't program Unix graphics apps...)

I have no clue. It's an awesome idea though!

Maglore 08-11-05 06:02 PM

LOL I had a few car problems and now i forget why i was asking this....

But
Quote:

You want to generate a synthetic event to be processed
Yes this is one thing i was wondering about....

I want to beable to tell the UI engine a event happened. EG mouse click on FrameA or whatever....

But am thinking that there is not one because this would allow a bot :eek: :rolleyes: :D


All times are GMT -6. The time now is 03:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI