This is an old revision of the document!
Start Page » DragonScript Scripting Language » Abstraction Layers: How you want to build your Game » Behavior Elements » GWBehaviorParameterTree
Game world behavior loading a parameter tree for the game world. The parameter tree is loaded from the file set in the game world property parameterTree.path when the game world is initialized. The loaded parameter tree can be accessed by scripts with getParameterTree().
This game world behavior can be used together with the ECBehaviorParameterTree element class behavior to store configuration data for multiple elements in a single .dept file with the ECBehaviorParameterTree selecting the data tree to use.
This behavior can be present only once in a game world.
Set path of the parameter tree file to load. If empty or not set, the parameter tree stays empty.
parameterTree.path*.deptThis behavior sends no events.
This behavior adds no behavior tree actions.
This behavior adds no behavior tree conditions.
This behavior adds no state machine actions.
This behavior adds no state machine conditions.
This behavior sends no state machine events.
This behavior requires no other behaviors.
This behavior has no optional behaviors.
Since DragonScript Module Version 1.35