чтобы скрипт видя в 10 клетках отсебя женскокого или мужского чара выполнял какие либо действие(ну пишит чтонибуть)..
я пробывал с uo.GetDistance но чтото я наверно не так делал
как сделать такой скрипт
Moderators: Murderator+, Murderator
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Code: Select all
uo.set('finddistance',10)#Не далекова-то ли?!
repeat
uo.findtype('Хумка',-1,'ground')
if uo.findcount()>0 then
action
endif
wait(1000)
until false
На набросок.
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.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
I'm wrote:НЕзабывай что типы у мужского и женск персов разные
На самом деле это очевидно, ибо под типом подразумевается графический тип объекта, что в справке именно так написано, а графически мужской и женский персонаж обычно различаются, и вообще, это ты мне написал или авотру топика?

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.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom