GetBackgroundFrame()
Returns the number of the current background being displayed. In a room
without animating backgrounds, this will always return 0. Otherwise, the
current frame number is returned from 0 to 4.
Example:
if (GetBackgroundFrame()==4)
object[2].Visible = true;
will turn on object 2 if the background frame of the room is frame 4.
See Also: SetBackgroundFrame
|