SAIL - WantDestroySibDeposit

Gotowe kody SAIL'a, informacje na temat moddingu, itd.

Moderator: zoNE

Post Reply
User avatar

Topic author
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Posts: 1537
Joined: Fri Feb 17, 2006 3:44 pm
Location: Poland
Contact:

SAIL - WantDestroySibDeposit

#1

Post by zoNE » Tue Nov 03, 2015 10:13 pm

Serpent wrote:Zwraca prawdę jeżeli naukowiec o idencie unit chce skazić złoże o koordynatach x, y.

Code: Select all

Export Function WantDestroySibDeposit(unit, x, y);
begin

     if GetTaskList(unit) then
        begin
        if 'G' = GetTaskList(unit)[1][1] and
             x = GetTaskList(unit)[1][2] and
             y = GetTaskList(unit)[1][3] then
           result := true
            else
             result := false;
        end
         else
          result := false;
End;
Author: Serpent
Topic: viewtopic.php?f=42&t=4546

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest