- Joined
- Sep 6, 2014
- Messages
- 3
- Reaction score
- 0
- First Language
- English
- Primarily Uses
OK, so I've been learning to use the various tools this thing has (I want to get a good handle on what the software already does before I add scripting into the mix), and I've hit upon a problem:
What's supposed to happen is an NPC villain named Morris says something to the player, a fight starts, and, when the fight's over, he talks some more and then falls over dead, but remains on screen.
So, I've got an event that looks like this (apologies, but for whatever reason, this computer won't take a screenshot):
Except, what happens is that the game never releases control back to the player. As a debugging tool, I've put in text boxes and such after the Control Switch command, and those do play, as do other events that were supposed to trigger when Morris dies (eg the flames of his ritual going out), so it seems to get past the actual setting of the switch OK, but if the switch is present, the player never regains control at the end of the event. I've even tried using the "Exit Event Processing" command to force control back to the player, but even that didn't work.
(Worth noting that other events I've created using self-switches and variables seem to work just fine, so this seems to be an issue with using a global switch.)
So, long story short, what am I missing?
(And, yes, I know I could just work around this by making "Morris Dead" a variable and just having anything that needs to know if he's dead look for a value greater than 0, but I want my proper booleans, dammit!)
What's supposed to happen is an NPC villain named Morris says something to the player, a fight starts, and, when the fight's over, he talks some more and then falls over dead, but remains on screen.
So, I've got an event that looks like this (apologies, but for whatever reason, this computer won't take a screenshot):
@>Text: 'Evil', 3 Normal, Bottom
: : Blah, blah, blah
@>Battle Processing: Morris
@>Text: 'Evil', 3 Normal, Bottom
: : Yak, yak, yak
Wait: 120 frame(s)
@>Set Move Route: This event (Wait)
: : $>Turn Up
: : $>Graphic: 'Damage3', 0
@>Control Switches: [0001: Morris Dead] = ON
Except, what happens is that the game never releases control back to the player. As a debugging tool, I've put in text boxes and such after the Control Switch command, and those do play, as do other events that were supposed to trigger when Morris dies (eg the flames of his ritual going out), so it seems to get past the actual setting of the switch OK, but if the switch is present, the player never regains control at the end of the event. I've even tried using the "Exit Event Processing" command to force control back to the player, but even that didn't work.
(Worth noting that other events I've created using self-switches and variables seem to work just fine, so this seems to be an issue with using a global switch.)
So, long story short, what am I missing?
(And, yes, I know I could just work around this by making "Morris Dead" a variable and just having anything that needs to know if he's dead look for a value greater than 0, but I want my proper booleans, dammit!)

