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
dragengine:modules:dragonscript:behavior_statemachine [2025/05/06 14:50] – [stateMachine.check] dragonlorddragengine:modules:dragonscript:behavior_statemachine [2025/05/09 19:04] (current) dragonlord
Line 82: Line 82:
 ===== stateMachine.event ===== ===== stateMachine.event =====
  
-Run event on state machine. Action returns BTResult.success no matter if current state understands event or not unless ''required'' parameter is present.+Run event on state machine.
  
 ^Parameter^Value^Description^ ^Parameter^Value^Description^
 |id|string|Identifier of event to run| |id|string|Identifier of event to run|
-|required| |If present action fails if current state does not understand event| 
  
 This is an example of using this action: This is an example of using this action:
dragengine/modules/dragonscript/behavior_statemachine.txt · Last modified: 2025/05/09 19:04 by dragonlord