Polski Česky English Français Русский Español
Home Site Original War Support Community Forums Facebook YouTube Discord
Вы первы раз здесь? Посмотреть это!
» Индекс > Modding Archive > SAIL - WantDestroySibDeposit

SAIL - WantDestroySibDeposit

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

Kod:

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: https://forum.original-war.net/viewtopic.php?f=42&t=4546

» Индекс > Modding Archive > SAIL - WantDestroySibDeposit