COMMANDS IN EVENTS DON'T HAPPEN IN ORDER?
Posts
Pages:
1
Hello. Im using rm2k3 and sometimes the command in the event happen all at once. For example, Im making a cutscene where one event is supposed to appear in a certain place after another event (autorun) is finished and is supposed to move forward a few steps, then there is a message, and then the sprite glows. But Instead, when I enter the map, the event is already at the side of the screen glowing and the message immediently comes up. The event is activating by the action key and I used multiple pages and tried putting switches at the end of every page activating the next one. Has anyone else had trouble with all the commands happening at once? This is really complicated so I don't know if anyone can explain it; I'll have to keep experimenting...
First, I'd re-check the conditions of the event that is at the side of the screen and glowing. If it's supposed to activate after a switch is active, make sure that having that switch enabled is a condition on page one.
If that checks out, check if the switch is active before the event in question that is supposed to activate the switch is done. Pressing F9 during gameplay should help in this respect. If it is active, then some other event must be activating the switch, and you'll have to find out where it's being activated. Otherwise, I'm not sure what's going on either.
If that checks out, check if the switch is active before the event in question that is supposed to activate the switch is done. Pressing F9 during gameplay should help in this respect. If it is active, then some other event must be activating the switch, and you'll have to find out where it's being activated. Otherwise, I'm not sure what's going on either.
You need to put in Wait commands to control the flow of events. The only events that don't need waits are ones that have a built in wait function, like move picture.
Using multiple events is tricky, but you have the right idea by using switches on multiple pages. You might want to combine all the event code into one event. Multiple events and pages aren't always necessary.
For these kinds of problems, the only way to solve it is to see your code. So screenshots or posting a copy of your project will be required if wait's don't work.
Using multiple events is tricky, but you have the right idea by using switches on multiple pages. You might want to combine all the event code into one event. Multiple events and pages aren't always necessary.
For these kinds of problems, the only way to solve it is to see your code. So screenshots or posting a copy of your project will be required if wait's don't work.
Pages:
1














