Thread Tools Display Modes
01-04-08, 07:46 PM   #1
ubik
A Kobold Labourer
Join Date: Jan 2008
Posts: 1
ActionButtonTemplate

Hi out there,
I'm currently trying to get the old Mod "PopBar" run again.
First of all: I don't really have a plan of scripting, most of my work is trying around

So my problem:

Is it still possible, to create buttons to cast whatever, using ActionButtonTemplate?
I tried ActionBarButtonTemplate, but then I get a lot of errows, f.e: in ActionButton.lua: 282 "Usage:IsCurrentAction(Slot)"
I would be great if anyone could have a rough look at it:

http://wowui.incgamers.com/?p=mod&m=6146

[the number in chatwindow that appears on clicking a button, is its actual assigned ID (am i right - it comes out of ...getpagedID?!) ]
  Reply With Quote
01-05-08, 06:44 AM   #2
mulesh
A Chromatic Dragonspawn
 
mulesh's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 193
Secure Frames are Blizzard's new mechanism as of WoW 2.0 to allow for the creation of custom interfaces which may target units, cast spells, use items, and the like while ensuring that such actions are done in a way that Blizzard approves of.
For info on working with Secure Frames:
Secure Frames Overview
__________________
"Don"t tase me bro!" ~ Andrew Meyer
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » ActionButtonTemplate


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