Skip to content

Instantly share code, notes, and snippets.

@soccermitchy
Created March 5, 2013 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soccermitchy/23cd5515de31f9610227 to your computer and use it in GitHub Desktop.
Save soccermitchy/23cd5515de31f9610227 to your computer and use it in GitHub Desktop.
class MitchAI extends AIInfo {
function GetAuthor() { return "wolfmitchell"; }
function GetName() { return "MitchAI"; }
function GetDescription() { return "test AI"; }
function GetVersion() { return 1;}
function GetDate() { return "3/4/13"; }
function CreateInstance() { return "MitchAI"; }
function GetShortName() { return "MitchAI"; }
function GetAPIVersion() { return "1.0";}
}
RegisterAI(MitchAI());
class MitchAI extends AIController {
function Start();
end
function MitchAI::Start(){
while (true) {
AILog.Info("test ai: tick " + this.GetTick());
this.Sleep(50);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment