Thread Tools Display Modes
08-05-05, 05:33 PM   #1
Maglore
A Murloc Raider
Join Date: Jul 2005
Posts: 4
Calling a Game event ??

Is it even possible to call a game event?

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

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

If it is how ?
  Reply With Quote
08-05-05, 09:38 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
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.
  Reply With Quote
08-06-05, 06:45 AM   #3
Littlejohn
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 90
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!
  Reply With Quote
08-11-05, 06:02 PM   #4
Maglore
A Murloc Raider
Join Date: Jul 2005
Posts: 4
LOL I had a few car problems and now i forget why i was asking this....

But
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
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Calling a Game event ??

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off