cancelling druid shapeshift
Is there a simple way to execute a command to cancel druid shapeshift? From what I've found in the wiki, CancelShapeshiftForm() is a protected command so I can't just throw it in anywhere.
I'm simply trying to have FollowFelankor call Pokedex whenever a whisper to mount is received. Right now I've simply told FollowFelankor to call "Pokedex:ToggleMount()" when it receives the whisper to mount and it works fine as long as I'm not shapeshifted. I don't know nearly enough Lua code to decipher how Pokedex cancels the shapeshift, but obviously the ToggleMount() function doesn't do it.
Basically, I was hoping to just add a "/cancelform" line right before the Pokedex:ToggleMount(), but I just can't figure out how to do it.
Is this something that can easily be done or am I out of my depth on this? If it is something easy, what line should I add there to cancel the shapeshift?
|