Skip to content

HasPassengers Parameter

Jeremie Rossignol edited this page Nov 28, 2015 · 6 revisions

Parameter to indicate that the Vessel in question must have a certain number of passengers (or must have fewer than a certain number). Use with the SpawnPassengers behaviour.

PARAMETER
{
    name = HasPassengers
    type = HasPassengers

    // Number of passengers to load onto the ship.
    //
    // Type:      int
    // Required:  No (defaulted)
    // Default:   0 (all passengers)
    //
    count = 1

    // Start index in the SpawnPassengers behaviour
    //
    // Type:      int
    // Required:  No (defaulted)
    // Default:   0
    //
    index = 0

    // (Optional) Specific Kerbal(s) that must be on board.  Can be
    // specified multiple times, but cannot be used with the other
    // attributes on this parameter.
    //
    // Type:      string
    // Required:  No (multiples allowed)
    //
    kerbal = Jebediah Kerman
    kerbal = Bob Kerman

    // Text to use for the parameter
    // Default Passengers loaded : <count>
    //title =
}
Clone this wiki locally