This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_ridable [2025/05/02 16:18] – dragonlord | dragengine:modules:dragonscript:behavior_ridable [2025/05/04 13:42] (current) – [ridable.check] dragonlord | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| |count.greater|integer|Count of riding ride on instances is greater than integer value| | |count.greater|integer|Count of riding ride on instances is greater than integer value| | ||
| |player|'' | |player|'' | ||
| + | |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: | ||
| Line 77: | Line 78: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ====== State Machine Actions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Conditions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Events ====== | ||
| + | |||
| + | |||
| + | ===== ridable.beginRiding ===== | ||
| + | |||
| + | Ride on instance begins riding. | ||
| + | |||
| + | ===== ridable.stopRiding ===== | ||
| + | |||
| + | Ride on instance stops riding. | ||
| ====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
| Line 85: | Line 105: | ||
| * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: | ||
| + | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
| ====== Persistency ====== | ====== Persistency ====== | ||
| Line 127: | Line 148: | ||
| | | ||
| < | < | ||
| + | <!-- optional: use behavior tree with id instead of empty string --> | ||
| + | <string name=' | ||
| + | | ||
| + | <!-- optional: use state machine with id instead of empty string --> | ||
| + | <string name=' | ||
| + | | ||
| <!-- set element properties. omit property prefix if used inside behavior tag --> | <!-- set element properties. omit property prefix if used inside behavior tag --> | ||
| <string name=' | <string name=' | ||