Yoko

All sides of Injection
It is currently 2026-01-16 13:08:15

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2010-02-12 05:13:59 
Offline

Joined: 2009-03-10 09:43:01
Posts: 78
Hello :D !!
how to check if a object is on the screen?
look

IF #VENDOR IS NOT ON SCREEN:
uo.addobject('vendor')
repeat
wait(1)
until not uo.targeting()
ENDIF

any uo.findcount() for chars???

bye bye

EDIT:
i made this
but is this the best way?

uo.deletejournal()
uo.useobject('vendor')
uo.click('backpack')
repeat
until uo.injournal('backpack')
if uo.injournal('You cant see the target') then


Top
   
PostPosted: 2010-02-12 09:14:35 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
if uo.getX('object') > 0 then
    // object exists
endif

_________________
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.
Skype: d119060


Top
   
PostPosted: 2010-02-12 15:51:52 
Offline
User avatar

Joined: 2007-11-01 19:09:30
Posts: 287
Location: Moscow
имхо нужно прилепить подобный топик где рассматриваются подобные частные приёмы, новчикам будет интересно сразу многое узнать.

_________________
**Выставляем отступы в скриптах*** ©Destruction
Feel the Power of Dark Side


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited