Page 1 of 1

Два WaitTargetObject в Carpentry

Posted: 14.01.2006 21:36
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 забивает первый? Что можно сделать?

Posted: 17.01.2006 3:04
by Miralex
Делай по аналогии как и здесь:
http://stealth.od.ua/forum/viewtopic.php?t=274