Yoko

All sides of Injection
It is currently 2025-12-22 05:05:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2008-09-14 18:25:31 
Offline

Joined: 2007-07-01 21:23:58
Posts: 82
Code:
sub Halb_Bow() 

var first=0x143E #Halberd
var second=0x13B1 #Bow

  if uo.GetGraphic(uo.ObjAtLayer('Lhand')) == "0x143E" then #type first
    uo.Equipt('Lhand',second)
  else
    uo.Equipt('Lhand',first)
  end if

end sub






есть такой скрипт, собственно вопрос как будут прописыватся в нем вещи которые не в руках а одеваются непосредственно на чара, например если я хочу одевать не алебарду и лук, а менять между сбой два амулета?
просто uo.usetype вместо uo.ObjAtLayer('Lhand') ??? помогите, буду оч признателен


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Limited