Simple death counter
- edit
- /
- history
- /
- upload files
Simple death counter
Author
Erty
Description
A very simple setup for triggering something (a bell sound and indicator turning green in this case) after a certain number of children (10) from a squadmaker has died.
A button is used to kill the squadmaker's children, and a trigger_numericdisplay is used to display the current number of dead children.
Essentially, the setup uses a game_counter with a Limit value set to 2 less than the squadmaker's Monster count (10 and 12 respectively, this is to have a margin for glitches and other cases when a death is not counted). We use the squadmaker's TriggerTarget and TriggerCondition to fire the game_counter each time one of the squadmaker's children dies.
Categories (tags)
Rate this prefab
5 / 5 (1 votes)
Comments & discussion
Add a New Comment
Rules:
- Feedback should be constructive.
- For discussion not related to this prefab, post in the forum.
page revision: 2, last edited: 16 Oct 2023 07:34