Author: SerpentSerpent wrote:Funkcja zwraca prawdę jeśli naukowiec (sci) chce leczyć jednostkę (unit).
Code: Select all
Export Function WantHeal(sci, unit); begin if GetTaskList(sci) > 0 then begin if GetTaskList(sci)[1][1] = 'l' and GetTaskList(sci)[1][4] = unit then result := true else result := false; end else result := false; End;
Topic: https://forum.original-war.net/viewtopi ... =42&t=4560