Page 1 of 1

Command for pet

Posted: Wed Aug 26, 2015 3:59 am
by bluesolarflare
Is there currently a supported command to force a pet to do a specific action? For instance if I want to force a Wyvern to use healing breath via command similar to the high level DRG job ability?

Re: Command for pet

Posted: Wed Aug 26, 2015 4:30 am
by kjLotus
you mean like a blood pact..?

Re: Command for pet

Posted: Wed Aug 26, 2015 1:01 pm
by bluesolarflare
Well more like editing the jump ja script so that when a DRG uses it the wyvern will use a breath attack. Looking to see if there is some script command such as pet:useAbility(ability number).

Re: Command for pet

Posted: Wed Aug 26, 2015 10:31 pm
by kjLotus
lua_baseentity.h has all the functions you can use on a lua baseentity, you are probably looking for useMobAbility

edit: actually I don't think that will work for pets - you might have to add your own function for pets