The transition keys are name you give to a state (not a transition one, a plain state like moving, stop, etc...). So, you can declare transition states which happens between 2 normal states, just by giving the source state and the destination state.
so, if you do :
DefaultConditionState
...
TransitionKey = TRANS_Normal
End
and
ConditionState = REALLYDAMAGED
...
TransitionKey = TRANS_Damaged
End
then, you can execute a transition state between the two by adding
TransitionState = TRANS_Normal TRANS_Damaged
Animation = ...
AnimationMode = ...
End
It will then do something when the unit gets hurt and become damaged, just between the "normal looking" state and the "damaged looking state".
by reversing the two keys behind TransitionState , it will then do something when the unit repairs and go back to DefaultConditionState.
Hope this helps
|