ActorCreator: Difference between revisions

 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Subsystem infobox|name=ActorCreator|is_name_official=0|description=Constructs and initialises actors|init_addr_switch150=00000071011DBAE4|inst_addr_switch150=00000071026521F0}}
{{Subsystem infobox|name=ActorCreator|is_name_official=0|description=Constructs and initialises actors|init_addr_switch150=00000071011DBAE4|inst_addr_switch150=00000071026521F0}}
'''ActorCreator''' is responsible for constructing and setting up actor instances.
'''ActorCreator''' is responsible for constructing and setting up actor instances.
ActorCreator also has a linked list of all actors.


== Creation parameters ==
== Creation parameters ==
Line 64: Line 66:
| @ND  
| @ND  
| bool  
| bool  
| ?
| Set actor flag3 0x1000000 (what does this do?{{check}})
|-
|-
| @RL  
| @RL  
Line 99: Line 101:
|-
|-
| @MU || string || ?
| @MU || string || ?
|-
| @DC || bool || ?
|-
| @SB || bool || bitwise OR <code>actor->field_6C</code> with 0x10
Used for resident actors, event system actors. Disables unload distance checks. (What other effects does this have?{{check}})
|-
|-
| =AT  
| =AT  
Line 111: Line 119:
| bool  
| bool  
| Is an actor drop (e.g. enemy drop)
| Is an actor drop (e.g. enemy drop)
This flag causes the actor to be added to the "Drops" [[ActorLimiter]] list<ref>{{addr|a=0x71011D2D7C|ver=nx-1.5.0}}</ref>.
|-
| IsAmiibo || bool || Is an amiibo drop<ref>https://gist.github.com/leoetlino/ff246cb5c16b12c5af14a899d1cd8ffd</ref>
This flag causes the actor to be added to the "amiibo" [[ActorLimiter]] list<ref>{{addr|a=0x71011D2DAC|ver=nx-1.5.0}}</ref>.
|-
|-
| InitBoundBoxPosOffset  
| InitBoundBoxPosOffset