Command for pet

Post Reply
bluesolarflare
Posts: 127
Joined: Wed May 27, 2015 4:23 pm

Command for pet

Post by bluesolarflare » Wed Aug 26, 2015 3:59 am

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?

User avatar
kjLotus
Lead Developer
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Command for pet

Post by kjLotus » Wed Aug 26, 2015 4:30 am

you mean like a blood pact..?

bluesolarflare
Posts: 127
Joined: Wed May 27, 2015 4:23 pm

Re: Command for pet

Post by bluesolarflare » Wed Aug 26, 2015 1:01 pm

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).

User avatar
kjLotus
Lead Developer
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Command for pet

Post by kjLotus » Wed Aug 26, 2015 10:31 pm

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

Post Reply