Skip to content

VisitWaypoint Parameter

Jeremie Rossignol edited this page Dec 15, 2016 · 8 revisions

The VisitWaypoint parameter is used with the WaypointGenerator behaviour to indicate that a generated waypoint must be visited by a vessel.

PARAMETER
{
    name = VisitWaypoint
    type = VisitWaypoint

    // The index (0-based) in the WaypointGenerator behaviour of the waypoint we
    // wish to reference.
    //
    // Type:      int
    // Required:  No (defaulted)
    // Default:   0
    //
    index = 0

    // Distance tolerance to be considered at the waypoint.
    //
    // Type:      double
    // Required:  No (defaulted)
    // Default:   500.0 (if on the surface).
    //             / 5.0 (if not on the surface).
    // Notes:     Only defaulted if horizontalDistance isn't provided.
    //
    distance = 500.0

    // Horizontal distance tolerance to be considered at the waypoint.
    //
    // Type:      double
    // Required:  No
    //
    horizontalDistance = 500.0

    // Whether the waypoint should get automatically hidden after completing
    // the contract objective.
    //
    // Type:      bool
    // Required:  No (defaulted)
    // Default:   true
    //
    hideOnCompletion = true

    // Whether to show the "Entering/Leaving $waypointName." messages when a player gets within the
    // distance tolerance of the waypoint.
    //
    // Type:      bool
    // Required:  No (defaulted)
    // Default:   false
    //
    showMessages = false
    
    // Text to use for the parameter
    //
    // Type:      string
    // Required:  No (defaulted)
    // Default:   Location: <waypoint>
    // 
    //title =
}
Clone this wiki locally