🛈 Announcement
Greetings! Far Cry forums are now archived and accessible in read-only mode, please go to the new platform to discuss the game.
  1. #1

    How to make enemy AI fights each other.

    Hello.
    I create PC version of a singleplayer map and I have a question. I want to create a small cutscene, which can be seen through binoculars.
    According to the idea, the bandits clear the street of the zombies.
    How can I make enemies fight each other?
    Share this post

  2. #2
    Ellio's Avatar Junior Member
    Join Date
    Sep 2012
    Posts
    10
    The ally class and enemy class should fight each other when they meet. To get them to meet from distant locations, you'd want to use a control zones. Create control zones, assign whichever AI to those control zones, and the AI will move from their placed positions to those zones. There are youtube videos that cover control zones. You can also use this method to make AI drive vehicles ~
     1 people found this helpful
    Share this post

  3. #3
    But how can i make fight two groups of enemies? Both of them will be enemies to me.
    And i can't create zombies-allies or neutrals, they can be only enemies.
    Share this post

  4. #4
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    You can not do that, enemy AI will not be violent towards their own.

    Only thing you can try is fake this by having the AI shoot at an animal or allied NPC that you hide behind a rock or something. The player won't see it, and from their perspective it may look like enemies are engaging eachother.

    But they won't fight to the death.
    Share this post