End Condition

From MachinationsWiki
Jump to: navigation, search

An End Condition is a node that stops a running diagram when it is activated. It must be the target of a Activator.

End Conditions specify when a diagram has reached an end state and can stop further execution. Usually such a state is reached when a specified number of resources is collected or when a particular resource is completely drained. End conditions need to be activated through an activator, they do not have a activation mode as other nodes do. End conditions can be used to set goals or build simple timers to limit the game's length. Diagrams that have end conditions are suited to 'quick run': instead of displaying the dynamic behavior as it develops over time, it runs the game to its completion immediately. Diagrams can also be run several times in succession, in this case the tool will show which end condition was reached how many times.