//****************************************************************************************// // // UNIVERSAL WARRIOR BRAIN CREATED:5/5/98 BY:Mike Lee // by the MechCommander(TM) Data Entry Application // // Modification, duplication & distribution is strictly limited to non-commercial // enterprise unless otherwise indicated by FASA Interactive Technologies, Inc. // // Copyright 1997 FASA Interactive Technologies, Inc. //****************************************************************************************// module WBm0403ul : integer; //****************************************************************************************// const #include_ "OConst.abi" #include_ "UnitConst.abi" type var //------------------------------------- // Enter Additional Variables Here static integer Order1Status; // PATHS static path Path1; //---------------------------------------------------------------------------------------- function Init; code #include_ "UBInit.abi" //---------------------------------------- // Enter Initial Behavior Variations Here // OrderStatus Order1Status = INCOMPLETE; // Paths Path1[0,0] = 0; // X Path1[0,1] = 0; // Y SetEngageRadius(20000); SetDisEngageRadius(20000); SetSpeed(RUN); endfunction; //---------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------- // Main Code //---------------------------------------------------------------------------------------- code //Initialize Orders Library initOrders; if (TRUE) then // Order 1 if (Order1Status == INCOMPLETE) then Order1Status = Sentry(-5552,2467); if (Order1Status == INCOMPLETE) then return(1); endif; endif; endif; return(1); endmodule.