Skip to content

Instantly share code, notes, and snippets.

@Donnotron666
Last active September 6, 2016 20:17
Show Gist options
  • Save Donnotron666/8207e428c69549667671b52db28bbcc1 to your computer and use it in GitHub Desktop.
Save Donnotron666/8207e428c69549667671b52db28bbcc1 to your computer and use it in GitHub Desktop.
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