WaypointGenerator Behaviour Type - jrossignol/ContractConfigurator GitHub Wiki

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.
⚠️ **GitHub.com Fallback** ⚠️