GetCurrentFrame
GetCurrentFrame

Returns the current frame number

frame = myStoryboard.GetCurrentFrame( )

Return value
The current frame number, corrisponding to the number returned by the relevent NewFrame call.

Comments

You can use this function to make generic code functions with some sections specific to individual frames, such as a platform game where all the levels use the same code function, but the boss levels have aditional code to run.

See also
Storyboard:NewFrame



JAM © 2005 no one in partiular
Project started by David Evans in 2005