This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_daytimesky [2025/04/30 22:07] – dragonlord | dragengine:modules:dragonscript:behavior_daytimesky [2025/05/04 13:48] (current) – [dayTimeSky.check] dragonlord | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| |time.less|float|Day time is less than hour of day| | |time.less|float|Day time is less than hour of day| | ||
| |time.greater|float|Day time is greater than hour of day| | |time.greater|float|Day time is greater than hour of day| | ||
| + | |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 99: | Line 100: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | ====== State Machine Actions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Conditions ====== | ||
| + | |||
| + | Same as [[# | ||
| + | |||
| + | ====== State Machine Events ====== | ||
| + | |||
| + | This behavior sends no state machine events. | ||
| ====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
| Line 106: | Line 119: | ||
| ====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
| - | This behavior | + | * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: |
| + | * [[behavior_statemachine|ECBehaviorStateMachine]]: | ||
| ====== Persistency ====== | ====== Persistency ====== | ||
| Line 146: | Line 159: | ||
| | | ||
| < | < | ||
| + | <!-- 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=' | ||