Game logic - Waypoint – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Description=
{{Feature|informative|Waypoints were merged with AI Behaviour. Please see [[Ylands:Game_logic_-_AI_Behavior|'''AI Behavior''']] for current information.}}
Reference point for AI, can set its behaviour.
{{Feature|obsolete}}


Note that AI will always teleport to default position of the waypoint at the start of the game.
= Description =
Reference point for AI. Governs its behavior.


=Settings=
= Properties =
Waypoints are linked to AI via settings of the particular AI.
*Waypoints are linked to AI via settings of the particular AI.


*Type: Sets the movement of AI.
=== Type ===
*Stand - AI will stand on the position of the waypoint.
*Sets the movement of AI.
*Loiter - AI will walk randomly in set area (editable setting for the area appear after Loiter is chosen).
**'''Stand''' - AI will stand on the position of the waypoint.
*Random - AI will randomly switch between multiple waypoints (waypoints can be added after Random is chosen).
**'''Loiter''' - AI will walk randomly in set area (editable setting for the area appear after Loiter is chosen).
*Trade: Enables or disables Trade interaction with the entity.
**'''Random''' - AI will randomly switch between multiple waypoints (waypoints can be added after Random is chosen).
*Action: Sets the interaction of AI.
*Talk - Fires "On Talk" trigger. This event can be edited via AI script window.
*None - Disables interactions.
*Interaction - Can set custom interaction.


=Events=
=== Trade ===
There are no specific events for the Waypoint logic. Script is usually edited through NPC's script window.
*Enables or disables Trade interaction with the entity.
*Fires [[Ylands:Tile - On Trade Entity Event|'''On Trade''']] event.
 
=== Action ===
*Sets the interaction of AI.
**'''None''' - Disables interactions.
**'''Talk''' - Fires [[Ylands:Tile - On Talk|'''On Talk''']] event.
**'''Interaction''' - Can set custom interaction.
 
= Notes =
*AI will always teleport to default position of selected Waypoint (when there is one set) at the start of the game.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}
 
[[Category: Game Logic]]
[[Category: Ylands 0.10]]

Latest revision as of 00:25, 2 February 2024

Waypoints were merged with AI Behaviour. Please see AI Behavior for current information.
🕖
This information is obsolete.

Description

Reference point for AI. Governs its behavior.

Properties

  • Waypoints are linked to AI via settings of the particular AI.

Type

  • Sets the movement of AI.
    • Stand - AI will stand on the position of the waypoint.
    • Loiter - AI will walk randomly in set area (editable setting for the area appear after Loiter is chosen).
    • Random - AI will randomly switch between multiple waypoints (waypoints can be added after Random is chosen).

Trade

  • Enables or disables Trade interaction with the entity.
  • Fires On Trade event.

Action

  • Sets the interaction of AI.
    • None - Disables interactions.
    • Talk - Fires On Talk event.
    • Interaction - Can set custom interaction.

Notes

  • AI will always teleport to default position of selected Waypoint (when there is one set) at the start of the game.