This component can be added to any object to cause it to dispatch an event to modify a target counter upon receiving an event.
Suggested use:
Connect to a Counter component to modify it's values upon receiving an event. The two components do not have to be on the same object. Use the cooldown element to delay the modification of the counter.
Examples found in: Project 1, Project 3
| Components | |||
|---|---|---|---|
| Property | Type | Description | Default Value | Component Properties |
| Mode | LPK Counter Mode | Choose how to use the value that is modifying the counter. | ADD |
| Counter | LPK Counter | Which counter to modify. | None |
| Value | Integer | The amount to modify the counter by. | 0 |
| Cooldown | Integer | Number of seconds to wait until an event can trigger another instance of counter change. | 0 | Event Receiving Info |
| Event Trigger | LPK Event Object | Which event will trigger this component's action. | None | Debug Properties |
| Print Debug Info | Boolean | Toggle console debug messages. | False |
| Label | String | Notes for the user about this component. This does nothing to the game or build. | None |