A group of decorative plants that can appear in many shapes. In SMG2, some objects of this class use ShapeModelNo to derive the proper model to be loaded. The plants attach to the nearest collision below them. If no collision is available, the individual plant may be placed at the origin of the galaxy.
Name | Type | Games | Required? | Description | Values |
---|---|---|---|---|---|
Obj_arg0 | Integer | Both | False | Number of Plants: The number of plants to be placed. Default is 7. | |
Obj_arg1 | Integer | Both | False | Number of Items: The number of items to be spawned. Default is 0. | |
Obj_arg2 | Integer | Both | False | Item Type: The kind of item to be spawned. |
|
Obj_arg3 | Integer | SMG2 | False | Color Frame: The color frame to be used. The available colors depend on the used model. See the individual plant objects for detailed lists. | |
Obj_arg4 | Boolean | SMG2 | False | Calculate Gravity?: If set, gravity will be taken into account when positioning the plants. | |
Obj_arg5 | Boolean | SMG2 | False | Prevent Random Rotation?: If set, the individual plants won't be randomly rotated when placed. This setting is always enabled for PlantD02 (sunflower). | |
Obj_arg6 | Float | SMG2 | False | Y Offset: The Y offset added to every plant's Y coordinate. Default is 0. |
Name | Games | Required? | Description |
---|---|---|---|
SW_APPEAR | Both | False | Appears when this switch is activated. |
SW_AWAKE | Both | False | Enables rendering and resumes updates when this switch is active. |
Name | Games | Required? | Description | Values |
---|---|---|---|---|
Rail | SMG2 | False | Can be used to lay out the plants on a line. | |
DemoCast | Both | False | Can take part in a cutscene. |