ScriptLayerController (Metroid Prime 2): Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Properties === === States === {| class="wikitable" |+ !State !Description |- |Arrived |Sent by dynamic controllers when they finish loading. It can be useful to send a Pl...") |
(→States) |
||
Line 9: | Line 9: | ||
|Arrived | |Arrived | ||
|Sent by dynamic controllers when they finish loading. | |Sent by dynamic controllers when they finish loading. | ||
It can be useful to send a Play message from the controller to itself, to activate the layer as soon as it's finished loading. | It can be useful to send a Play message from the controller to itself using this state, to activate the layer as soon as it's finished loading. | ||
|} | |} | ||
Latest revision as of 19:43, 1 July 2023
Properties
States
State | Description |
---|---|
Arrived | Sent by dynamic controllers when they finish loading.
It can be useful to send a Play message from the controller to itself using this state, to activate the layer as soon as it's finished loading. |
Messages
Message | Description |
---|---|
Increment | Activates the target layer for the next time the area is loaded.
Dynamic controllers: begins loading the layer asynchronously. Does not activate the layer immediately. |
Decrement | Deactivates the target layer for the next time the area is loaded.
Dynamic controllers: unloads and deactivates the layer immediately. |
Play | Dynamic controllers: activates the target layer if it isn't yet active.
If the layer has not yet finished loading, it will load synchronously, blacking out the screen until finished. |
Load | Alias for Increment. |
Unload | Alias for Decrement. |