DPAT

From Heavy Iron Modding
Jump to navigation Jump to search

DPAT
Dispatcher
TypeBase
Base Type0x1E
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles

Rise of the Underminer
Source codezDispatcher.h

DPAT refers to a dispatcher, an asset whose only purpose is to trigger events in other assets. Once enabled, they start receiving the ScenePrepare event automatically and permanently on level start.

Format[edit]

Dispatchers are base assets, so they start with their 0x8 byte header, and are immediately followed by the events.

Offset Type Description
Events
0x8 Event[numberOfEvents] Events

Events[edit]

Credits start[edit]

Parameters:

Start displaying a Credits asset. This dispatcher will be set as the "parent" of the credits.

Credits stop[edit]

Stop displaying the current Credits asset.

Credits ended[edit]

If this dispatcher is the parent of the currently running credits, it will receive this event when the credits have finished.