lua/macro stuff

07/09/2009 11:50 run32.dll#1
nothing special here, just funstuff to play around...

view Bankframe everywhere (view only!, moving an item will disconnect you):
Code:
[COLOR="SeaGreen"]/script BankFrame:Show();[/COLOR]
This method will work with the some frames listed here:
[Only registered and activated users can see links. Click Here To Register...]
Just use Show(); or Hide(); at the end.
Btw. there are some strange frames I have never seen before...

Macro - print out camera position/vectors:
Code:
[COLOR="SeaGreen"]/script local a,b,c = GetCameraPosition() DEFAULT_CHAT_FRAME:AddMessage(a) DEFAULT_CHAT_FRAME:AddMessage(b) DEFAULT_CHAT_FRAME:AddMessage(c);[/COLOR]
Code:
[COLOR="SeaGreen"]/script local a,b,c = GetCameraUpVector() DEFAULT_CHAT_FRAME:AddMessage(a) DEFAULT_CHAT_FRAME:AddMessage(b) DEFAULT_CHAT_FRAME:AddMessage(c);[/COLOR]
Just found this stuff cuz I decided to learn some lua. All these retared curse addons piss me off ... no good healeraddon... only buggy crap! *grml* Does the RoM luaskript not support mouseover stuff?
07/09/2009 15:04 BackToReality#2
OnEnter is what you're looking for it is excecuted when the mouse pointer enters the frame/button. Also the Rom language is similar to the WoW AddOn language, so u can also look at their wiki, there are also good tutorials.
07/09/2009 19:28 rawrgodzilla#3
There any advantage of using camera position over vector or camera vector over position?