Official ScriptUO EasyUO Scripts > Scripting Chat

How can i find out the hp of my pet?

(1/1)

Djego:
Hi all, I need a way to find out how many hits my pet currently has, its possible in percent of its maxhits, too... i really cant find any way to get this exept by #Enemyhits, but i don't want to attack my pet... can anyone help?

Crome969:
Grummel.. Same Idea Same Time but you was Faster..

Yes we need a Way :D

TrailMyx:
Check out my pet gump routine.
http://www.scriptuo.com/smf/index.php?topic=31.0

This will give you a starting point to be able to pull up the pet gump (my way sucks), but once you get the gump up, then the OCR routine kicks in and you get a good percentage number back for how damaged your pet is.

This code is not meant to be stand-alone, but to give you ideas.

Crome969:
Okay, The Scriptcode Looks Fine but its not that what we need.

to Explain the Situation...

We have Chars on a German Freeshard,
There are "BiologyPets" Avaible Pets in Possible humanForm to Wear Armor and More
On That Shard it Exist Gargoyle Knifes to Hunt Leather Runic Item.
Some of Our Enemys makes Much Dmg and perhaps the Biopet will be Die.
now we need a Way To Findout ( as Possible without ocr) When Does our Script must help him :)

Djego:
hmm i hoped there's another way of getting its health tha via the gump... but wayne, I'll use it! very much thanks, i'll rip the part i need off your script (giving you credit of course) :D

but it would be a genious feature for SUO to have a variable for that... maybe you can do that?

anyway, thanks, this will enhance my script a lot!

Edit: Okay, i missed the ocr part... thats not that good, then... :/

Navigation

[0] Message Index

Go to full version