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

Base Class: AIArea

ForbiddenArea.jpg

Overview

ForbiddenArea is a special kind of AIArea. For AI agent that need to navigate from a point to another AI navigation system computes a path using terrain info for outdoor navigation and waypoint info inside WaypointAreas for indoor navigation. Generally only terrain data is insufficient to let outdoor navigation, for example among a variety of buildings, alos buildings perimeter is needed. ForbiddenAreas are just the needed building (or something similar) perimeter data. 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
WaypointArea and Waypoints 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