mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
leverages the EventManager and ScriptMsgListener() classes to set up a third mission load stage triggered by the following flow:
function <module>::onLoadMap(%this) starts an execution chain that leads to <module>::finishMapLoad()
each <module>::finishMapLoad() MUST contain the line
Core_ClientServer.GetEventManager().postEvent( "mapLoadComplete" );
once all have called back that they have finished thier tasks, players finish loading into a hosted mission
|
||
|---|---|---|
| .. | ||
| clientServer | ||
| console | ||
| gameObjects | ||
| gui | ||
| lighting | ||
| postFX | ||
| rendering | ||
| sfx | ||
| utility | ||
| core.module | ||
| core.tscript | ||
| settings.xml | ||