A basic object that can be destroyed through various means. Unlike other variants, it registers to the indirect map object draw buffer. The supported methods to destroy a certain object are hard-coded. It needs the animation Break.bck that will be used when the object gets destroyed. In addition, it also supports an optional visibility animation called Break.bva. Finally, it may use sound or particle effects when it gets destroyed. These go by the names MapObjActorBreak and Break, respectively.
Name | Type | Games | Required? | Description | Values |
---|---|---|---|---|---|
Obj_arg0 | Integer | Both | False | Color Frame: If ColorChange.brk exists, this will define the color frame to be used. | |
Obj_arg1 | Integer | Both | False | Texture Frame: If TexChange.btp/.btk exists, this will define the texture frame to be used. | |
Obj_arg2 | Float | Both | False | Shadow Length: If Shadow.bcsv exists, this defines the shadow's drop length. | |
Obj_arg3 | Integer | Both | False | Item Type: The kind of item to spawn when destroyed. |
|
Obj_arg4 | Integer | Both | False | Riddle SFX Type: Specifies what sound effect to play after destroying the object. Although the game reads this value, the jingle functionality has been removed in SMG2. |
|
Obj_arg5 | Integer | Both | False | Cutscene Breaking Delay: The time in frames that has to elapse before the object gets destroyed when its cutscene is playing. Default is 60. | |
Obj_arg6 | Integer | Both | False | Item Count: The number of items to spawn when destroyed. Default is 1 for Coins and 5 for Star Bits. | |
Obj_arg7 | Integer | Both | False | SW_DEAD Activation Delay: The time in frames that has to elapse before SW_DEAD gets activated. Default is -1. |
Name | Games | Required? | Description |
---|---|---|---|
SW_APPEAR | Both | False | Appears when this switch is activated. |
SW_DEAD | Both | False | Gets activated when destroyed. |
SW_A | Both | False | If used, the object cannot be destroyed while this switch is not activated. |
SW_B | Both | False | Destroys the object once triggered. |
SW_AWAKE | Both | False | Enables rendering and resumes updates when this switch is active. |
Name | Games | Required? | Description | Values |
---|---|---|---|---|
AppearPowerStar | Both | True | If Obj_arg3 is set to 3, this object will spawn a Power Star when destroyed. | |
Camera | Both | False | Used when destroying the object. | |
DemoCast | Both | False | Can take part in a cutscene. Its special cutscene functor action destroys it once triggered. |