Dock (Metroid Prime)

Revision as of 18:56, 1 August 2015 by rmw>Aruki (Wanted to try making a wiki page for a script object to see how it could look...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Dock is a script object that handles inter-area transitions. It is responsible for loading adjacent areas and for transitioning Samus from one to the other when she passes through it. Docks are often accompanied by doors, but this is not required.

Parameters

Offset Data Type Length Name Description
0x0 string N Instance Name
N+0x0 bool 1 Active
N+0x1 CVector3f 12 Position
N+0xD CVector3f 12 Scale
N+0x19 long 4 Dock ID ID number for this dock instance in this area.
N+0x1D long 4 Area ID MLVL index for this area
N+0x21 bool 1 Unknown

States

Messages

ID Name Effect
0x5 Decrement Stop rendering attached area
0x7 Increment Start rendering attached area
0xC SetToMax Load attached area
0xD SetToZero Unload attached area