Scriptable Layers (Metroid Prime 2): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Aruki mNo edit summary |
>Aruki No edit summary |
||
Line 209: | Line 209: | ||
| colspan=5 {{unknown|End of property}} | | colspan=5 {{unknown|End of property}} | ||
|} | |} | ||
== Generated Objects == | |||
Generated objects are stored on a separate layer, denoted with <code>SCGN</code>. The SCGN layer isn't a real layer; it doesn't store a self-index and instances on the layer still contain the index of their original SCLY script layer in their instance ID. These are the stipulations that cause an instance to be written to SCGN: | |||
* Any instance that receives a Generate/Activate message (MP2) or a Generate/Attach message (MP3, DKCR) is written to SCGN instead of SCLY. | |||
* In DKCR, all GenericCreature instances are written to both SCLY and SCGN. (The generated one is spawned if you scroll the creature offscreen and come back.) | |||
[[Category:File Formats]] | [[Category:File Formats]] |