secure unit template player button
*edit* Got it working.
This creates a unit button for "player" that can be hovered, left and rightclicked. Code:
local orb1 = create_me_a_frame("Button",nil,orbanchorframe,"BACKGROUND",orbsize,orbsize,orbpoint,orbposx,orbposy,orbscale,nil,"SecureUnitButtonTemplate") |
You need to create a method to handle the menu action. Something like this...
Code:
|
All times are GMT -6. The time now is 07:01 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI