User Tools

Site Tools


dragengine:modules:dragonscript:behavior_statemachine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_statemachine [2025/05/02 11:19] dragonlorddragengine: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: ''stateMachine.value'' or ''stateMachine({id}).value''+  * Full name: ''stateMachine.path'' or ''stateMachine({id}).path''
   * Type: string   * Type: string
   * Default Value: empty string   * Default Value: empty string
   * Expected File Type: ''*.desm''   * Expected File Type: ''*.desm''
-  * Example (*.deeclass) <code xml><string name='stateMachine.value'>actor.desm</string></code>+  * Example (*.deeclass) <code xml><string name='stateMachine.path'>actor.desm</string></code> 
 + 
 +===== debug ===== 
 +Debug mode prefix. If not empty string enables debug mode with prefix to locate log messages easily. 
 +  * Full name: ''stateMachine.debug'' or ''stateMachine({id}).debug'' 
 +  * Type: string 
 +  * Default Value: empty string 
 +  * Example (*.deeclass) <code xml><string name='stateMachine.debug'>Debug-Actor-SM</string></code>
  
 ===== 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:
dragengine/modules/dragonscript/behavior_statemachine.1746184787.txt.gz · Last modified: 2025/05/02 11:19 by dragonlord