game.getSceneName
Retuns the name of a referenced scene in the game editor module.
Prototype
sSceneName = game.getSceneName ( hGame, nIndex )
Description
Retuns the name of a referenced scene at index number nIndex in the game editor module.
Parameters
hGame - valid Game handle
nIndex - index number 1..nCount
Return values
sSceneName - scene name string
Sample
for i = 1, nSceneCount do local hFile = project.getFile ( project.kFileTypeScene, game.getSceneName ( hGame, i ) ) -- etc.
Available since ShiVa 2.0