Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-16-14, 12:47 AM   #1
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
DismissCompanion("CRITTER") not work anymore ?

Hi all,

I am slowly check my simple addons to run smoothly on patch 6.0.x.

I am now curious why this function

DismissCompanion("CRITTER")

is not working anymore for me ... even if I have found in the api changes no evidence that it should be broken/removed.

Lua Code:
  1. if args:lower() == "remove" then
  2.         print(prgname .. " is dismiss the active companion")
  3.         DismissCompanion("CRITTER")
  4.         return
  5.     end

Is it broken the function or I am doing something wrong ?

Thanks very much for your help and attention.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » DismissCompanion("CRITTER") not work anymore ?


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