S2ENGINE HD  1.4.6
Official manual about S2Engine HD editor and programming
WaypointArea

Base Class: AIArea

WaypointArea.jpg

Overview

WayPointArea is a special kind of AIArea. In free terrain Path-finding is automatically computed by the AIsystem, but there are areas, such as Building interiors, where this is not sufficient, so AI system need a little help by the level designer which must delimit these area with WaypointArea objects and put inside them Waypoint Objects. To Make navigation system knowing where to pass to enter in or exit from a waypoint area some Waypoint must be put outside the area and marked as Entry point.
Generally to let agents to navigate either outdoor, among buildings, and indoor, inside buildings, ForbiddenAreas are used to delimitate buildings, making agents to avoid them, and WaypointAreas plus Waypoints are used inside buildings using a Waypoint entry point to let agent enter/exit from buildings.

Note
that WaypointArea and Waipoints must be placed inside ForbiddenArea except the part of the WaypointArea that contains the Entry point. See Figure.
NavigationExample.jpg
See also
Editing Areas to know how to create and edit AI Areas. For more informations about using AI objects see AI.

Receiving Messages

none

Sending Messages

none

See also
Messages