-
Notifications
You must be signed in to change notification settings - Fork 0
CollectSwitchCtrl
Evanbowl edited this page Aug 16, 2024
·
1 revision
Author: Aurum
CollectSwitchCtrl activates its SW_A switch when the defined conditions are met.
| Parameter Name | Type | Name | Default Value | Purpose |
|---|---|---|---|---|
Obj_arg0 |
int | Item Type | 0 | Item type to check for. |
Obj_arg1 |
int | Item Count | 0 | Target item amount to check for. |
Obj_arg2 |
int | Item Comparator | 0 | Item value operation type. |
Obj_arg3 |
bool | Switch Once? | false | Always check? |
Obj_arg4 |
bool | Clear Star Bits? | false | Clears the player's Star Bits upon stage initialization. |
| Type | Target | Extra Requirements |
|---|---|---|
| 0 | Coin | None |
| 1 | Purple Coins | None |
| 2 | Star Bits | None |
| 3 | Power Star Count | None |
| 4 | Blue Coins | The BlueCoinSystem module |
| Type | Comparator |
|---|---|
| 0 | (current amount) == Obj_arg1
|
| 1 | (current amount) < Obj_arg1
|
| 2 | (current amount) <= Obj_arg1
|
| 3 | (current amount) > Obj_arg1
|
| 4 | (current amount) >= Obj_arg1
|
| 5 | (current amount) != Obj_arg1
|
This argument makes it so that the CollectSwitchCtrl will deactivate its event if the defined condition is no longer true.