(Formerly part of GetGameParameter, which is now obsolete)
static ViewFrame* Game.GetViewFrame(int view, int loop, int frame)
Returns a ViewFrame instance for the specified frame in the specified loop of the specified view.
This instance allows you to query properties of the frame itself, such as its graphic, its frame-linked
sound setting, and so forth.
NOTE: This is a static function, and thus need to be called with Game. in front of it. See
the example for more.
Example:
ViewFrame *frame = Game.GetViewFrame(SWIMMING, 2, 3);
Display("Frame 3 in loop 2 of view SWIMMING has sprite slot %d.", frame.Graphic);
See Also: Game.GetLoopCountForView,
Game.GetRunNextSettingForLoop,
Game.GetFrameCountForLoop,
ViewFrame.Graphic, ViewFrame.Speed
|