Skip to content

WaypointGenerator Behaviour Type

Jeremie Rossignol edited this page Jul 16, 2015 · 4 revisions

The WaypointGenerator behaviour can be accessed by referencing it by name in an expression:

CONTRACT_TYPE
{
    name = MyContractType
    
    title = There are @/MyWaypointGenerator.Waypoints().Count() waypoints.

    BEHAVIOUR
    {
        name = MyWaypointGenerator
        type = WaypointGenerator

        ...
    }
}

Methods

Method Signature Description
List<Waypoint> Waypoints() Retrieves a list of all Waypoints generated by this behaviour.
Clone this wiki locally