ExitMapEngine

From Spheriki

Jump to: navigation, search

Signals for the map engine to close.


Contents

Usage

ExitMapEngine();


Examples

For the following example to work, the player must be in the map engine. Place this script in a trigger.

ExitMapEngine();

This will tell the map engine that it needs to close.


Notes

  • This function tells the map engine to shut down. This does not mean that the engine shuts down immediately. Any code that occurs between a call to this function, and the next map refresh, will still be executed. Since the MapEngine() function will not work while the map engine is running, the original call to MapEngine() must return before a new one can begin.
  • This function only works while the map engine is running. This can be checked for using the IsMapEngineRunning() function.


See also

Personal tools