readonly static int Game.DialogCount
Returns the number of dialogs in the game.
This is useful for script modules if you need to iterate through all the dialogs for some reason.
Valid dialogs are numbered from 0 to DialogCount - 1.
Example:
Display("The game has %d dialogs.", Game.DialogCount);
Compatibility: Supported by AGS 3.0.2 and later versions.
|