Game logic - Waypoint – Ylands
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Description= | =Description= | ||
Reference point for AI | 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 [[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}} | {{Ylands scripting navbox}} |
Revision as of 22:50, 2 December 2018
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.