LEB: Difference between revisions

207 bytes added ,  2 years ago
mroe info on actor data
(→‎Actor Section: added info on last section of actor data)
(mroe info on actor data)
Line 145: Line 145:
|
|
|'''Control section.''' Used to define actor-specific behavior, including actors which appear from switches, enemy kill tags, etc., as well actors which use flags to mark a state, e.g. whether you've picked it up yet or not.
|'''Control section.''' Used to define actor-specific behavior, including actors which appear from switches, enemy kill tags, etc., as well actors which use flags to mark a state, e.g. whether you've picked it up yet or not.
Every value in this section is a u32.
Every value in this section is a u16.




Line 153: Line 153:


Actors not intended to be a part of this behavior omit this value. Other values have been observed here but aren't yet understood. (e.g. 0x0202)
Actors not intended to be a part of this behavior omit this value. Other values have been observed here but aren't yet understood. (e.g. 0x0202)
The value 0x0401 here indicates conditional spawning based on the value of a flag. If the flag at the specified index (specified a few values later) is not set, this actor will not exist in the game world.




39

edits