A basic object that can be destroyed through various means. Unlike other variants, it comes with an additional collision mesh named Break that will be used after destroying it. 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 | SMG2 | False | Color Frame: If ColorChange.brk exists, this will define the color frame to be used. | |
Obj_arg1 | Integer | SMG2 | False | Texture Frame: If TexChange.btp/.btk exists, this will define the texture frame to be used. | |
Obj_arg2 | Float | SMG2 | False | Shadow Length: If Shadow.bcsv exists, this defines the shadow's drop length. | |
Obj_arg3 | Integer | SMG2 | False | Item Type: The kind of item to spawn when destroyed. |
|
Obj_arg4 | Integer | SMG2 | 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 | SMG2 | 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 | SMG2 | False | Item Count: The number of items to spawn when destroyed. Default is 1 for Coins and 5 for Star Bits. | |
Obj_arg7 | Integer | SMG2 | 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 | SMG2 | False | Appears when this switch is activated. |
SW_DEAD | SMG2 | False | Gets activated when destroyed. |
SW_A | SMG2 | False | If used, the object cannot be destroyed while this switch is not activated. |
SW_B | SMG2 | False | Destroys the object once triggered. |
SW_AWAKE | SMG2 | False | Enables rendering and resumes updates when this switch is active. |
Name | Games | Required? | Description | Values |
---|---|---|---|---|
AppearPowerStar | SMG2 | True | If Obj_arg3 is set to 3, this object will spawn a Power Star when destroyed. | |
Camera | SMG2 | False | Used when destroying the object. | |
DemoCast | SMG2 | False | Can take part in a cutscene. Its special cutscene functor action destroys it once triggered. |