Game logic - Waypoint – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
Line 30: Line 30:


----
----
{{Ylands editor navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}


[[Category: Game Logic]]
[[Category: Game Logic]]
[[Category: Ylands 0.10]]
[[Category: Ylands 0.10]]

Revision as of 05:23, 30 December 2020

Waypoints were merged with AI Behaviour. Please see AI Behavior for current information.

Template:outdated

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.