LEB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 145: | Line 145: | ||
|0x78 | |0x78 | ||
| | | | ||
|''' | |'''Actor Switches'''. Defines 4 actor switches for the event. These are used for the spawn behavior of many things like small keys, chests, NPCs, loading zones, etc. | ||
First there is 4 bytes which define the usage of actor switches 0-3 respectively: | |||
* 0: uncertain purpose. Observable on dungeon torches (ObjDungeonFaceLamp) | |||
* 1: The actor switch is the index of a global flag. | |||
* 2: Unknown. Usually the corresponding switch is 0x01. Possibly used to indicate the value to use for something else, e.g. setting a flag. Can be observed on most(?) loading zones, TagHolocaustChecker, etc. | |||
* 3: So far not seen. | |||
* 4: The switch is unused. | |||
Following this are the four actor switch definitions, each 2 bytes (u16). | |||
|- | |||
|0x84 | |||
| | |||
|'''Unknown'''. | |||
|- | |||
|0x90 | |||
| | |||
|For actors that are longer than 0x90 bytes, this section is used for more data. The purpose so far is not clear, but often seems to be similar in structure to the parameters section. | |||
|} | |} | ||
=====Notes on Parameters for Specific Actors===== | =====Notes on Parameters for Specific Actors===== |