DPAT

From Battlepedia
Jump to navigationJump to search
DPAT
Dispatcher
Type Object
Object ID 0x1E
Games used Night of 100 Frights
Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

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

Dispatchers are object 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

Credits start

Parameters:

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

Credits stop

Stop displaying the current Credits asset.

Credits ended

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