Thread: Pet Tid Bits
View Single Post
Thead Left Old 09-24-2008, 08:50 PM   #9 (permalink) Thead Left
Vandire
Dunbarton Explorer
 
Vandire's Avatar
 
Join Date: Jul 2008
Posts: 70
My Mood:
Gold: 859
Vandire will become famous soon enoughVandire will become famous soon enoughVandire will become famous soon enoughVandire will become famous soon enough
Default

Quote:
Originally Posted by uncle e View Post
Thanks for the tidbits!
I'm curious about the attack on sight (as soon as summoned) code ... if you have any code that will help my silver fox attack sooner/quicker, id appreciate it. It seems to always pause for a bit (using petomatic).
The smart Pet-O-Matic is a sophisticated AI that almost gives the pet a mind of it's own, or something like that. The AI I use is made for basic combat, but proves really affective but requires I also control my pet in case something happens.


I looked into the Smart Pet-O-Matic (I think that's the right one). The code has certain conditions that must be met in order for the pet to act accordingly.

The simple line of code I use is as follows.

Pet Finds an Enemy
Cancel Skill
andAttack enemy with a Melee Attack. Time limit None
(Not accustomed for all enemies)

This rule will have my pet target the first enemy it sees and begin assaulting it with a melee opener.
You may try editing rule number 2 in the Smart Pet-O-Matic to your liking.

Even so, there are times the pet will pause before targetting, especially when summoned right next to an enemy. I am unsure as to why this is so, but a remedy to this is to use Shift and click to quickly target enemies. I use this method while I'm being attacked to ensure the pet targets my enemy.
__________________

Ign: Vandire
Server: Mari
Vandire is offline   Reply With Quote