Mirage wrote:if the object is destroyed, what you are doing a target?
The explosion pot is not destroyed...
It's a WarShard
Mirage wrote:if the object is destroyed, what you are doing a target?
ZeroDX wrote:uo.waittargetground(type,[color])
ZeroDX wrote:waittarget must be before usetype
ZeroDX wrote:Do not perform any action between the occurrence of target and its indication
ZeroDX wrote:follow this linkMirage wrote:вот еще интересный вариант.
This script uses your latest horse
you can remove some of linesCode: Select all
UO.MoveItem('_0x0F08',1,'lasthorse')
UO.WarMode(0)
UO.UseObject('lasthorse')
ZeroDX wrote:,info then target your horse
ZeroDX wrote:Try thisCode: Select all
sub Mount()
var id_Horse = '0x12345678' ;<= ID
If UO.ObjAtLayer('Horse') then
UO.UseObject('self')
else
UO.UseObject(id_Horse)
Endif
Endsub