CrowdTransition - superclass: ReferenceTarget; super-superclass:MAXWrapper - 8:0 - classID: #(1649620504, 273694790)Constructor
CrowdTransition ... Transition ...Properties
<crowdtransition>.priority Integer Default: 0-- integerSets the transition's priority.
<crowdtransition>.duration Integer Default: 25-- integerThe number of frames the software takes to affect the transition between states.
<crowdtransition>.easeIn Float Default: 0.5-- floatEase in value for the source clip.
<crowdtransition>.easeOut Float Default: 0.5-- floatEase out value for the destination clip.
<crowdtransition>.functionName String Default: "transFunc"-- string;Alias: Script_Context_NameThe name of the MAXScript conditional that specifies when/how the transition is to occur.
<crowdtransition>.script String Default: Undefined-- string;<crowdtransition>.fromCrowdState Default: Undefined-- max object;Alias: FromStateThe state that the transition originated from.
<crowdtransition>.toCrowdState Default: Undefined-- max object;Alias: ToStateThe state that the transition is destined for.
The <CrowdTransition>.functionName value must match the name of the function defined in <CrowdTransition>.script .
The script function is compiled with the function name in global scope. The function name cannot be the same as a MAXScript-defined global variable name.
The <CrowdTransition>.script is of the form:
fn transFunc del trans t =(if t < 50 then 0 else 1)where del is the delegate node, trans is the CrowdTransition value, and t is the time value of the frame being evaluated. The 3ds Max time context will also be frame being evaluated. The return value must be an integer value. If the return value is 0, the transition is not taken. For any other return value, the transition is taken.
The <CrowdTransition>.script is not evaluated for a delegate while the delegate is in transition between states.
<CrowdTeam>.members-- array of DelegatenodesThe following MAXScript operations will cause Crowd to fail, either right away or later:
NEVER set the from or to properties to undefined.
NEVER set the from or to properties to anything other than a CrowdState object.