Thread Tools Display Modes
02-01-10, 04:54 PM   #1
Shark5060
A Deviate Faerie Dragon
 
Shark5060's Avatar
Join Date: Jul 2009
Posts: 14
/cast Hearthstone ... how ôo

Hi,

well I was just doing a simple Button with kgPanels for Mounting and so on...
I'm just missing the MiddleButton for my Hearthstone. I tried using
CastSpellByName("Hearthstone") and CastSpellByName(6948) and also CastSpellByName(8690) (The "Spell" cast by the Hearthstone) ... but this stupid thing doesn't cast <.<

Works fine if I fill in every other Mount or stuff, so the Button is recognized, it just doesn't cast my Stone.

Any suggestions ?
__________________
The rush of battle is often a potent and lethal addiction, for war is a drug - Chris Hedges
  Reply With Quote
02-01-10, 05:22 PM   #2
Dainton
A Flamescale Wyrmkin
 
Dainton's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 115
The Hearthstone is an item.
  Reply With Quote
02-01-10, 05:33 PM   #3
Shark5060
A Deviate Faerie Dragon
 
Shark5060's Avatar
Join Date: Jul 2009
Posts: 14
sure - but if I enter "/cast Hearthstone" in the Editbox of my chat I use the item ôo
__________________
The rush of battle is often a potent and lethal addiction, for war is a drug - Chris Hedges
  Reply With Quote
02-01-10, 05:39 PM   #4
speak
A Wyrmkin Dreamwalker
 
speak's Avatar
Join Date: Oct 2005
Posts: 57
try

/use Hearthstone
  Reply With Quote
02-01-10, 05:45 PM   #5
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 188
Cast and use are completely identical functionally. You can /use a spell and /cast and item.

The problem is that using items or spells (excluding mounts and companions) is protected, you can't use CastSpellByName on an item or spell. You need to use a SecureActionButtonTemplate to cast a spell on button click, which kgPanels doesn't explicitly support.
  Reply With Quote
02-01-10, 05:50 PM   #6
Shark5060
A Deviate Faerie Dragon
 
Shark5060's Avatar
Join Date: Jul 2009
Posts: 14
okay, then I'll have to find another way.

Thanks.
__________________
The rush of battle is often a potent and lethal addiction, for war is a drug - Chris Hedges
  Reply With Quote
02-01-10, 06:29 PM   #7
Dainton
A Flamescale Wyrmkin
 
Dainton's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 115
UseItemByName("Hearthstone")

Edit: Nevermind, Blizz removed that I guess.

Last edited by Dainton : 02-01-10 at 06:37 PM.
  Reply With Quote
02-02-10, 12:06 AM   #8
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
CastXXXXByName or ByID or By(ANYTHING EXCEPT SECURE BUTTON CLICK) is only avaiable to the blizzard UI.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-02-10, 02:09 AM   #9
cormanthor
A Warpwood Thunder Caller
 
cormanthor's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2008
Posts: 97
You could try using an action bar mod and setting the opacity for that button to 0%. You'd likely need a very flexible mod, similar to Macaroon.
__________________
Some days it's just not worth chewing through the restraints...
  Reply With Quote
02-05-10, 02:02 PM   #10
khurzog
A Frostmaul Preserver
 
khurzog's Avatar
Join Date: Dec 2007
Posts: 266
Originally Posted by cormanthor View Post
You could try using an action bar mod and setting the opacity for that button to 0%. You'd likely need a very flexible mod, similar to Macaroon.
this is exactly what i do and it works perfect. i have an entire hidden macaroon bar dedicated to "secret keybindings" gl
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » /cast Hearthstone ... how ôo


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