Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
79 lines
1.6 KiB
Plaintext
79 lines
1.6 KiB
Plaintext
|
|
//*********************************************************************************
|
|
|
|
fsm playeraifsm : integer;
|
|
|
|
//------------------------------------------------------------------
|
|
//
|
|
// Constant Definitions
|
|
//
|
|
//------------------------------------------------------------------
|
|
const
|
|
#include_ <content\ABLScripts\mwconst.abi>
|
|
|
|
|
|
//------------------------------------------------------------------
|
|
//
|
|
// Type Definitions
|
|
//
|
|
//------------------------------------------------------------------
|
|
type
|
|
#include_ <content\ABLScripts\mwtype.abi>
|
|
|
|
|
|
//------------------------------------------------------------------
|
|
//
|
|
// Variable Declarations
|
|
//
|
|
//------------------------------------------------------------------
|
|
var
|
|
|
|
//------------------------------------------------------------------
|
|
//
|
|
// Local Functions
|
|
//
|
|
//------------------------------------------------------------------
|
|
|
|
function init;
|
|
code
|
|
endfunction;
|
|
|
|
//------------------------------------------------------------------
|
|
//
|
|
// Main Code
|
|
//
|
|
//------------------------------------------------------------------
|
|
state startState;
|
|
code
|
|
trans normal;
|
|
endstate;
|
|
|
|
state normal;
|
|
code
|
|
|
|
if (billyup) then
|
|
clearmoveorder(me);
|
|
orderstopattacking;
|
|
trans gothere;
|
|
endif;
|
|
|
|
OrderMoveto(epa_playerstartpath,50,move_nocycle,true,false);
|
|
|
|
endstate;
|
|
|
|
state gothere;
|
|
code
|
|
|
|
OrderMoveto(epa_playerpath,600,move_nocycle,true,false);
|
|
|
|
endstate;
|
|
|
|
state deadState;
|
|
code
|
|
endstate;
|
|
|
|
|
|
endfsm.
|
|
//******************************************************************
|
|
|