if you click the ? button in the scenario editor (near “start” and “next”) you will find this entry:
koCheckpoint( maxKOs )
Set the current chapter and line as KO checkpoint.
In the event the character is knocked out, Miqobot will try to respawn and continue scenario from this line.
Parameter specifies the maximum number of KOs allowed. If the next checkpoint is not reached after this number of KOs, Miqobot will give up and stop the scenario.
Default value is 3, maximum is 10.
If you need to perform additional actions before continuing from checkpoint, such as teleporting through a shortcut, use koCatchUp().
Aliases
–
Parameters
maxKOs – [optional] maximum number of KOs
Examples
koCheckpoint()
teleport(Castrum Oriens)
gatherPreset(persimmon log)
gather(10)
koCheckpoint()
teleport(Ala Ghiri)
gatherPreset(twincoon)
gather(10)