Yoko

All sides of Injection
It is currently 2025-12-23 01:02:05

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: ,Hide
PostPosted: 2005-07-03 01:18:44 
Offline

Joined: 2005-04-16 23:33:13
Posts: 104
Привет

Вот у меня вопрос возможно сделать скрипт чтобы я при запуске скрипта находил автономно типы людей и НПС и делал им хайд.


Top
   
 Post subject:
PostPosted: 2005-07-03 05:21:07 
Offline
User avatar

Joined: 2005-05-21 07:12:12
Posts: 163
Location: DRW
НПС-людей или просто любых живых существ, включая живность?


Top
   
 Post subject:
PostPosted: 2005-07-03 16:20:42 
Offline

Joined: 2005-04-16 23:33:13
Posts: 104
Вот смотри я как бы новенький но все больше меня радует ниджект......просто когда делаешь команду ,hide то можно пробегать через НПС или Игроков......забывая про стамину.........

Дело в том что у нас на сервере убивают зостричами т.е я забегаю в дом убить человека а он разшринковывает 10 зостричей и они тебя все облипили и не пройти.........вот хотелось бы скрипт чтобы я нажал кнопку и он на расстоянии в 5 клеток от меня всех захайдил....включая игроков.....НПСов:
Если можно я типы сам установлю сделайте только рабочий код плиз


Top
   
 Post subject:
PostPosted: 2005-07-03 16:48:11 
Offline
User avatar

Joined: 2005-05-21 07:12:12
Posts: 163
Location: DRW
Пжлста.
Code:
sub hide()
UO.IgnoreReset()
UO.Set('finddistance','5')
UO.FindType(-1,-1,'ground')
while UO.FindCount()
   UO.Hide('finditem')
   UO.FindType(-1,-1,'ground')
   UO.Ignore('finditem')
wend
end sub


Top
   
 Post subject:
PostPosted: 2005-07-03 17:21:03 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Не совсем, двери в доме хайдить думаю не надо 8)
Code:
sub hide() 
UO.IgnoreReset()
UO.Set('finddistance','5')
UO.FindType(-1,-1,'ground')
while UO.FindCount()
   if uo.isNPC('finditem') then
   UO.Hide('finditem')
   endif
   UO.FindType(-1,-1,'ground')
   UO.Ignore('finditem')
wend
end sub

Так будет хайдить тока живых.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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