Game logic - AI Behavior – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
*Flee radius - the radius at which the AI will walk  
*Flee radius - the radius at which the AI will walk  
*Minimum fear distance - the distance from which AI can start to run away from the character
*Minimum fear distance - the distance from which AI can start to run away from the character


=Behaviour type:=
=Behaviour type:=

Revision as of 09:48, 28 November 2019

Description

  • AI behaviour is a game logic allows to set up behaviour to entities (animals, NPC). Double click on animal on NPC to select AI behavior logic.
Ylands AIBehaviour.jpg

Properties

Aggressivity settings:

  • Aggressive - will attack player.
  • Flee on sight - start running on sight.
  • Ignore player - no action, just ignore.
  • Non-aggressive - neutral behaviour.

Radius and distance

  • Detection radius - the radius at which the AI detects the player.
  • Flee radius - the radius at which the AI will walk
  • Minimum fear distance - the distance from which AI can start to run away from the character

Behaviour type:

  • Stand - stands on the waypoint, idling.
  • Loiter - walks randomly in a limited area around waypoint.
  • Patrol - walks in selected zone. Possible to set up between reference points.



Template:Ylands scripting navbox