SAIL - ComCompleteUpgrade

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: 1570
Joined: Fri Feb 17, 2006 3:44 pm
Location: Poland
Contact:

SAIL - ComCompleteUpgrade

#1

Post by zoNE » Fri Nov 27, 2015 10:52 am

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: viewtopic.php?f=42&t=4577

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest