From 092dbe52a9536467c0de971e010d1f5dd5800a6f Mon Sep 17 00:00:00 2001 From: SaracenOne Date: Thu, 6 Oct 2022 16:44:59 +0100 Subject: Change auto_advance flag to advance_mode enum and unify with disabled flag. Expressions and conditions now require auto mode to be set to auto. Adds a toggle button to the state machine editor for whether new transitions advance settings should default to auto mode or not. --- doc/classes/AnimationNodeStateMachineTransition.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/classes/AnimationNodeStateMachineTransition.xml b/doc/classes/AnimationNodeStateMachineTransition.xml index 4c2a30030b..814b2d0052 100644 --- a/doc/classes/AnimationNodeStateMachineTransition.xml +++ b/doc/classes/AnimationNodeStateMachineTransition.xml @@ -22,14 +22,11 @@ Use an expression as a condition for state machine transitions. It is possible to create complex animation advance conditions for switching between states and gives much greater flexibility for creating complex state machines by directly interfacing with the script code. - - Turn on the transition automatically when this state is reached. This works best with [constant SWITCH_MODE_AT_END]. - - - Don't use this transition during [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance]. + + Determines whether the transition should disabled, enabled when using [method AnimationNodeStateMachinePlayback.travel], or traversed automatically if the [member advance_condition] and [member advance_expression] checks are true (if assigned). - Lower priority transitions are preferred when travelling through the tree via [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance]. + Lower priority transitions are preferred when travelling through the tree via [method AnimationNodeStateMachinePlayback.travel] or [member advance_mode] is set to [constant ADVANCE_MODE_AUTO]. The transition type. @@ -58,5 +55,14 @@ Wait for the current state playback to end, then switch to the beginning of the next state animation. + + Don't use this transition. + + + Only use this transition during [method AnimationNodeStateMachinePlayback.travel]. + + + Automatically use this transition if the [member advance_condition] and [member advance_expression] checks are true (if assigned). + -- cgit v1.2.3