This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_statemachine [2025/05/02 11:19] – dragonlord | dragengine:modules:dragonscript:behavior_statemachine [2025/05/09 19:04] (current) – dragonlord | ||
---|---|---|---|
Line 44: | Line 44: | ||
===== path ===== | ===== path ===== | ||
Set path to state machine file to load. | Set path to state machine file to load. | ||
- | * Full name: '' | + | * Full name: '' |
* Type: string | * Type: string | ||
* Default Value: empty string | * Default Value: empty string | ||
* Expected File Type: '' | * Expected File Type: '' | ||
- | * Example (*.deeclass) <code xml>< | + | * Example (*.deeclass) <code xml>< |
+ | |||
+ | ===== debug ===== | ||
+ | Debug mode prefix. If not empty string enables debug mode with prefix to locate log messages easily. | ||
+ | * Full name: '' | ||
+ | * Type: string | ||
+ | * Default Value: empty string | ||
+ | * Example (*.deeclass) <code xml>< | ||
===== Events ===== | ===== Events ===== | ||
Line 100: | Line 107: | ||
|state.contains|string|Current state identifier contains string value| | |state.contains|string|Current state identifier contains string value| | ||
|state.contains.not|string|Current state identifier does not contain string value| | |state.contains.not|string|Current state identifier does not contain string value| | ||
+ | |wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | ||
This is an example of using this action: | This is an example of using this action: |