Exemple #1
0
 protected override void ConfigureStates()
 {
     states    = new IEnumerator[3];
     states[0] = AIStates.FollowLeader(blackboardReference, manager.components, 6, 0);
     states[1] = AIStates.GotoCover(blackboardReference, manager.components, 8, true, Random.Range(1, 5));
     states[2] = AIStates.StandardAttack(blackboardReference, manager.components);
 }
Exemple #2
0
 protected override void ConfigureStates()
 {
     Debug.Log("SQUAD APPROACHING");
     states    = new IEnumerator[3];
     states[0] = AIStates.GotoPlayer(blackboardReference, 6, manager.components);
     states[1] = AIStates.GotoCover(blackboardReference, manager.components, 6, true, Random.Range(1, 5));
     states[2] = AIStates.StandardAttack(blackboardReference, manager.components);
 }
 protected override void ConfigureStates()
 {
     states    = new IEnumerator[5];
     states[0] = AIStates.CalculateFlank(blackboardReference, manager.components);
     states[1] = AIStates.GotoPosition(blackboardReference, 0, 8, manager.components, 6);
     states[2] = AIStates.GotoPosition(blackboardReference, 1, 8, manager.components, 6);
     states[3] = AIStates.GotoPlayer(blackboardReference, 8, manager.components);
     states[4] = AIStates.StandardAttack(blackboardReference, manager.components);
 }
 protected override void ConfigureStates()
 {
     states    = new IEnumerator[2];
     states[0] = AIStates.GotoPlayer(blackboardReference, 8, manager.components);
     states[1] = AIStates.StandardAttack(blackboardReference, manager.components);
 }