This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_playercontrollable [2025/05/07 15:43] – dragonlord | dragengine:modules:dragonscript:behavior_playercontrollable [2025/05/11 13:43] (current) – dragonlord | ||
|---|---|---|---|
| Line 51: | Line 51: | ||
| This behavior adds these behavior tree actions if behavior tree is present. | This behavior adds these behavior tree actions if behavior tree is present. | ||
| - | ===== playerControllable.takeControl | + | ===== playerControllable.update |
| - | Take control of actor by player. | + | Update player controllable. |
| + | |||
| + | ^Parameter^Value^Description^ | ||
| + | |takeControl| |Make player take control of actor| | ||
| This is an example of using this action: | This is an example of using this action: | ||
| <code xml> | <code xml> | ||
| - | <action name=' | + | <action name=' |
| + | < | ||
| + | </action> | ||
| </ | </ | ||