Hnxml Standard
    Preparing search index...

    Type Alias Hasflag

    This will only accept if the target flag has been set.

    Mission end functions can use the function addFlags:[flagname],[flagname2],[etc] to set flags, then you can have a mission only complete if a flag is set. Some daemons add flags when events happen. For example, a pacemaker server adds the flag "PATIENT_NAME:DEAD" when the patient dies.

    <goal type="hasflag" target="flagName"/>
    
    type Hasflag = {
        target: string;
        type: "hasflag";
    }
    Index

    Properties

    Properties

    target: string
    type: "hasflag"