-------------------------------------------------------------------------------- -- Handler.......... : onChangeAnim -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function SimpleAnimation_Main.onChangeAnim ( nIndex ) -------------------------------------------------------------------------------- local s = application.getCurrentUserScene ( ) if ( s ~= nil ) then local o = scene.getTaggedObject ( s, "Character" ) if ( o ~= nil ) then object.sendEvent ( o, "SimpleAnimation_Character", "onChangeAnim", nIndex ) end end -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------