game.getSceneCount

Counts all the scenes in the scenes tab of a game.

Prototype

  1. nCount = game.getSceneCount ( hGame )

Description

Counts all the scenes in the scenes tab of a game. HUD-only games and applications do not require scenes.


Parameters

hGame - valid Game handle


Return values

nCount - number 0..n


Sample

  1. local nSceneCount = game.getSceneCount ( hGame )

Available since ShiVa 2.0