Last active
September 6, 2016 20:17
-
-
Save Donnotron666/8207e428c69549667671b52db28bbcc1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static AIData IDLE_THEN_SEEK_AI { | |
get { | |
var ret = new AIData(); | |
ret.ActionData = new ActionData(new Type[]{ | |
typeof(Idle), | |
typeof(WaitForPlayerLOS) | |
} | |
).Then ( | |
new ActionData(new Type[]{ | |
typeof(WaitAction), | |
typeof(AggroFireAtPlayer), | |
typeof(CheckPlayerLOS)}) | |
.Else( | |
typeof(PathToPlayer) | |
) | |
); | |
return ret; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment