I wanna know when the target is dead, but I tryed with UO.GetHP and didn't find the answer.
Someone can help me with this problem?
[]'s
UO.GetHP
Moderators: Murderator+, Murderator
-
Injectioner
- Posts: 25
- Joined: 2005-07-28 20:31:08
UO.GetHP
[img]http://img164.imageshack.us/img164/2370/ultimateuserbarmaker113ld4.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
-
Destruction
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Hmm.. May be uo.getGraphic can helps you?
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
Injectioner
- Posts: 25
- Joined: 2005-07-28 20:31:08
How it will be?Destruction wrote:Hmm.. May be uo.getGraphic can helps you?
I've tryed with Uo.GetHP() like this:
Code: Select all
UO.gethp('0x000000')
if uo.gethp() == 0 then
uo.say('blablabla')
endif[img]http://img164.imageshack.us/img164/2370/ultimateuserbarmaker113ld4.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
I'm sorry. I wrote wrong scp.Injectioner wrote:Didn't work... O.o'Scripts Writer wrote:Code: Select all
sub Test_Hp() var id=0x00000000 if uo.GetHp('id') == 0 then if uo.GetName('id')=="" then uo.Click('id') end if uo.Print(uo.GetName('id')+' is dead.') end if end sub
I think u won't see value hp of character by him id. U can see only % from GetHp/MaxHp. Look it in scp where player attack dragon until low hp and then heal him.
2Also u can try to see type of character by uo.GetGraphic. If hp==0 then the character,- ghost. Type of ghost != Type of human.
*sorry for my clumsy english*
-
Injectioner
- Posts: 25
- Joined: 2005-07-28 20:31:08
No problem... ;]
Thank you, I will find this script and try do it.
[]'s
Thank you, I will find this script and try do it.
[]'s
[img]http://img164.imageshack.us/img164/2370/ultimateuserbarmaker113ld4.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
-
Injectioner
- Posts: 25
- Joined: 2005-07-28 20:31:08
When someone die, the graphic changes?
If the answer is yes, how may I do to save one graphic and start to verify the graphic of the same person, but without lose the first graphic that I have taken.
[]'s
If the answer is yes, how may I do to save one graphic and start to verify the graphic of the same person, but without lose the first graphic that I have taken.
[]'s
[img]http://img164.imageshack.us/img164/2370/ultimateuserbarmaker113ld4.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
[img]http://img222.imageshack.us/img222/7531/ultimateuserbarasdmakerrh7.png[/img]
[img]http://img229.imageshack.us/img229/2584/ultimateuserbarmaker113ch5.png[/img]
-
Scripts Writer
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact: