- Joined
- Aug 13, 2019
- Messages
- 2
- Reaction score
- 0
- First Language
- English (UK)
- Primarily Uses
- RMMV
Sorry in advance if I can't see the wood for the trees.
Broad view: Generic 'please clear map of enemies to advance game' quest
First idea: Use conditional branching event to check for live enemy troops and then turn on switch which acts as success state when none are present.
Thing I need: Is there a script call for number/presence of enemy troops which are/are not KO in a map or region?
If no call exists, can I do the equivalent of creating a var 'n' which inc. by 1 every time an enemy troop is KO, and have the conditional branch check for var = n to trigger the switch?
Any and all advice welcomed.
Broad view: Generic 'please clear map of enemies to advance game' quest
First idea: Use conditional branching event to check for live enemy troops and then turn on switch which acts as success state when none are present.
Thing I need: Is there a script call for number/presence of enemy troops which are/are not KO in a map or region?
If no call exists, can I do the equivalent of creating a var 'n' which inc. by 1 every time an enemy troop is KO, and have the conditional branch check for var = n to trigger the switch?
Any and all advice welcomed.


