application.getCurrentGame

Returns a handle to the currently loaded game.

Prototype

  1. hGame = application.getCurrentGame ( )

Description

Returns a handle to the currently loaded game in the editor.


Parameters


Return values

hGame - game handle


Sample

  1. aResult = project.getFileReferences ( project.getFile ( application.getCurrentGame ( ) ) )

Available since ShiVa 2.0