Skip to content
Michael Billard edited this page Jun 29, 2019 · 1 revision

This precondition checks to see if a kerbal's trait matches the desired parameter. For instance, you could check to see if a kerbal is an Engineer. Example definition: PRECONDITION { name = CheckTrait traitToCheck = Engineer mustExist = true }

Fields

traitToCheck

Name of the trait to check

mustExist

Flag to indicate pressence (true) or absence (false) of the value to check.

Methods

Constructor

Initializes a new instance of the class.

Parameters

node: A ConfigNode containing initialization parameters. parameters from the class also apply.

Clone this wiki locally