SAIL - ComCompleteUpgrade

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

Moderator: zoNE

Post Reply
User avatar
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Posts: 1969
Joined: Fri Feb 17, 2006 3:44 pm
Location: Poland
Contact:

SAIL - ComCompleteUpgrade

Post by zoNE »

Serpent wrote:Funkcja rozkazuje ukończyć budowę/ulepszanie danego budynku jednostkom z plist.

Code: Select all

Export Function ComCompleteUpgrade(plist, b);
var i;
begin
if BuildingStatus(b) = bs_build then
   for i = 1 to plist do
       SetTaskList(plist[i], [['h', GetX(b), GetY(b), b, 0, 0, 0]]);
End;
Author: Serpent
Topic: https://forum.original-war.net/viewtopi ... =42&t=4577
Post Reply