SpawnKerbal Behaviour Type - jrossignol/ContractConfigurator GitHub Wiki

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

CONTRACT_TYPE
{
    name = MyContractType
    
    title = @/MySpawnKerbal.Kerbals().ElementAt(2) is the name of the Kerbal.

    BEHAVIOUR
    {
        name = MySpawnKerbal
        type = SpawnKerbal

        KERBAL
        {
            ...
        }
    }
}

Methods

Method Signature Description
List<Kerbal> Kerbals() Retrieves a list of all Kerbals spawned by this behaviour.
⚠️ **GitHub.com Fallback** ⚠️