dragengine:modules:dragonscript:behavior_statemachine
Differences
This shows you the differences between two versions of the page.
| Last revisionBoth sides next revision |
dragengine:modules:dragonscript:behavior_statemachine [2020/09/13 15:59] – created dragonlord | dragengine:modules:dragonscript:behavior_statemachine [2024/03/14 16:36] – dragonlord |
---|
</WRAP> | </WRAP> |
| |
Behavior element behavior adding [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1StateMachineSystem_1_1StateMachine.html|StateMachine]] support. | Behavior element behavior adding #@LinkApiDocDEDS2_HTML~classDragengine_1_1StateMachineSystem_1_1StateMachine.html,StateMachine~@# support. |
| |
Loads state machine from file (*.desm) and creates an [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1StateMachineSystem_1_1SMContext.html|SMContext]]. Other behaviors can add [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1StateMachineSystem_1_1SMAction.html|actions]] and [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1StateMachineSystem_1_1SMCondition.html|conditions]] to this state machine allowing to compose state machine actions and conditions easily. | Loads state machine from file (*.desm) and creates an #@LinkApiDocDEDS2_HTML~classDragengine_1_1StateMachineSystem_1_1SMContext.html,SMContext~@#. Other behaviors can add [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1StateMachineSystem_1_1SMAction.html|actions]] and [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/interfaceDragengine_1_1StateMachineSystem_1_1SMCondition.html|conditions]] to this state machine allowing to compose state machine actions and conditions easily. |
| |
This behavior can be used in different ways depending on the needs. | This behavior can be used in different ways depending on the needs. |
====== Persistency ====== | ====== Persistency ====== |
| |
This behavior does support element class to be persistable (setPersistable). Saves state machine content ([[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1StateMachineSystem_1_1SMContext.html|SMContext]]). | This behavior does support element class to be persistable (setPersistable). Saves state machine content (#@LinkApiDocDEDS2_HTML~classDragengine_1_1StateMachineSystem_1_1SMContext.html,SMContext~@#). |
| |
====== API Documentation ====== | ====== API Documentation ====== |
| |
[[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Scenery_1_1ECBehaviorStateMachine.html|ECBehaviorStateMachine]]. | #@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorStateMachine.html,ECBehaviorStateMachine~@#. |
| |
Since DragonScript Module Version **1.3** | Since DragonScript Module Version **1.3** |
dragengine/modules/dragonscript/behavior_statemachine.txt · Last modified: 2024/03/14 16:43 by dragonlord