MoveStateChanged (Event)

From Legacy Roblox Wiki
Revision as of 07:45, 29 September 2011 by >NXTBoy (Removed superfluous vertical bar in the template call.)
Jump to navigationJump to search
MoveStateChanged ( MoveState newState, MoveState oldState )
Description Fired when the SkateboardPlatform's Controlling Humanoid changes the force being used on the SkateboardPlatform.
Member of: SkateboardPlatform
Example
function onMoveStateChanged( newState, oldState )
   print( "The SkateboardPlatform's oldState was " .. tostring( oldState ) )
   print( "The SkateboardPlatform's newState is " .. tostring( newState ) )
end

SkateboardPlatform.MoveStateChanged:connect( onMoveStateChanged )