PROBLEM WITH WAITTARGETTILE
Moderators: Murderator+, Murderator
PROBLEM WITH WAITTARGETTILE
i need to do this...
i use waittargettile(8198 x y z) but diferent types of tiles use the same number 8198 and when i want to use on a specific objet that uses always in the same, i try to cut a horse corpse that is 8198 and it cuts human corpse that is 8198 too... ex: player corpse = 8198, horse corpse = 8198
i need to use waittargettile but use something to says thats is a horse corpse or a human corpse or a dragon corpse... can i do that using injection or irw or asm???
help me plz
i use waittargettile(8198 x y z) but diferent types of tiles use the same number 8198 and when i want to use on a specific objet that uses always in the same, i try to cut a horse corpse that is 8198 and it cuts human corpse that is 8198 too... ex: player corpse = 8198, horse corpse = 8198
i need to use waittargettile but use something to says thats is a horse corpse or a human corpse or a dragon corpse... can i do that using injection or irw or asm???
help me plz
You need in find.
After it, check result of find. UO.FindCount() return count of finding object.
You can use finding object via 'finditem'. For example:
UO.Ignore( 'object' ) is function for ignore this object in next find.
Not forget use UO.IgnoreReset() in end of script for clear list of ignore.
Code: Select all
UO.Findtype( 'type of corpse', '-1', '1' ) - second argument is color ('-1' - any), third argument is place ('1' - ground ).
After it, check result of find. UO.FindCount() return count of finding object.
Code: Select all
If UO.FindCount() > 0 Then
; I found it!
...
You can use finding object via 'finditem'. For example:
Code: Select all
If UO.GetQuantity( 'finditem' ) == 'quantity of dragon corpse' Then
UO.WaitTargetObject( 'finditem' )
UO.UseType( 'type of knife in your pack')
wait(500)
... you need in write code for loot ...
UO.Ignore( ' finditem' )
Else
UO.Ignore( 'finditem' )
Endif
UO.Ignore( 'object' ) is function for ignore this object in next find.
Not forget use UO.IgnoreReset() in end of script for clear list of ignore.