Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Method on October 19, 2016, 07:26:42 pm

Title: LUA code for pressing keys in-game?
Post by: Method on October 19, 2016, 07:26:42 pm
Looking for code that will automatically press a key upon login to the game.

Anyone know how to do this?
Title: Re: LUA code for pressing keys in-game?
Post by: Alastor on October 20, 2016, 12:10:55 am
to force some component to use "Click" Event on itself is just like this

ClassTrainerTrainButton:Click()
QuestFrameCompleteQuestButton:Click()
GossipTitleButton1:Click()

to see what component is called like use ingame "/framestack"

if you want to use smth in GLUE screen look into LUA files for names