Table of Contents

BlockGame()

Syntax

BlockGame(void);

Description

The command blocks the user interface and the AI work as well as the camera management. This way, the world comes to a stop, and the script remains as the only source of in-game events. The command also stops the running heroes (while preserving their paths). To unblock the game, the UnblockGame() command should be used. Game blocks are accumulated, which means that the game will be unblocked once the number of calls for UnblockGame() will be equal to that of BlockGame().