Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Два WaitTargetObject в Carpentry

тут можно задать вопрос по скриптингу
Post Reply
Acronym
Novice
Novice
Posts: 114
Joined: 10.05.2005 18:42
Location: Odessa, NDW
Contact:

Два WaitTargetObject в Carpentry

Post by Acronym »

Code: Select all

    begin 
      CheckSave;
      WaitTargetObject(FindType($1BDD,ground)); {дерево на полу}     
      WaitTargetObject(FindType($1BF2,ground)); {инготы на полу}
      b:=Now; 
      UseObject(FindType($10E6,backpack)); {inshave в паке}
      WaitGump('3764'); 
      WaitJournalLine(b,'You',40000); 
    end;
System: You are stuffed
System: Target the wood you wish to work with
System: Target the ingots you wish to use
System: You can only carpenter wood
System: Target the wood you wish to work with
System: I am already doing something else.
System: Target the ingots you wish to use
Получается, что последний WaitTargetObject забивает первый? Что можно сделать?
Miralex
Developer
Developer
Posts: 656
Joined: 11.03.2005 19:12
Contact:

Post by Miralex »

Делай по аналогии как и здесь:
http://stealth.od.ua/forum/viewtopic.php?t=274
Post Reply