Yoko

All sides of Injection
It is currently 2025-10-21 19:14:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2007-06-03 23:50:42 
Offline

Joined: 2006-02-10 13:26:37
Posts: 173
Как проверить есть ли в правой руке именно заданный итем?
Code:
if uo.objatlayer('Rhand') == '0x13FC' then

Пробовал так - неработает.

_________________
Shard: Dragon World


Top
   
 Post subject:
PostPosted: 2007-06-04 00:13:36 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
uo.objatlayer
возвращяет Ид
Code:
if uo.getGraphic((uo.objatlayer('Rhand')) == '0x13FC' then


Top
   
 Post subject:
PostPosted: 2007-06-04 09:32:49 
Offline

Joined: 2006-02-10 13:26:37
Posts: 173
Во, отлично, спасибо!

Только у арбалета левая рука и одна скобка была лишней:
Code:
if uo.getGraphic(uo.objatlayer('Lhand')) == '0x13FC' then

:P

_________________
Shard: Dragon World


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 14 guests


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