Instantly share code, notes, and snippets.

@soccermitchy /info.nut Secret
Created Mar 5, 2013

Embed
What would you like to do?
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