Difference between revisions of "Animation Events"

Jump to navigation Jump to search
1,049 bytes added ,  23:02, 16 February 2014
no edit summary
imported>Terra Nova2
(→‎Weapon Animation Events: added sword animation events.)
imported>Egocarib
Line 259: Line 259:
attackStop
attackStop
</source>
</source>
=== Movement & World Interaction Events ===
'''Sneaking:'''
*''Non-combat:''
**Enter sneaking while standing: '''tailSneakIdle'''
**Enter sneaking while moving: '''tailSneakLocomotion'''
**Leave sneaking while standing: '''tailMTIdle'''
**Leave sneaking while moving: '''tailMTLocomotion'''
*''During Combat:''
**Enter sneaking while standing: '''tailSneakIdle'''
**Enter sneaking while moving: '''tailSneakLocomotion'''
**Leave sneaking while standing: '''tailCombatIdle'''
**Leave sneaking while moving: '''tailCombatLocomotion'''
*''Important:'' You'll need to track the player's Sneak state in your script, because the "enter sneaking" events will re-fire if the player jumps or falls and you may not want your script to react to every event. Relatedly, if the terrain is a bit irregular, the sneaking events may re-fire ''even'' if the character is standing still and the camera simply moves to the left/to the right.
'''Water Events:'''
*''Player Entering Water:'' '''SoundPlay.FSTSwimSwim'''
*''Player Exiting Water:'' '''MTState'''
Anonymous user

Navigation menu