HasPassengers Parameter - jrossignol/ContractConfigurator GitHub Wiki

Parameter to indicate that the Vessel in question must have a certain number of passengers (or must have fewer than a certain number). These passengers must be loaded on the launchpad/runway (use HasCrew for when this is not the case). Typically used 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 =
}
⚠️ **GitHub.com Fallback** ⚠️