[RM2K3] EVENT ACTING STRANGE...
Posts
Pages:
1
Lol, I don't know what else to use as title.
I have 2 events.
-1st event is a parallel event that records key input (left and right keys).
-2nd event is 2 pages, both auto-event. Page activity depending on which side the hero is standing. When the player is on the right side, it has the right side event switch on. Vice-versa for the left side.
This is what the event is supposed to do:
When the hero is on the right side, and the player presses left key, it moves the hero 10 tiles to the left side. It switches OFF right side, and switches ON left side.
When the hero is on the left side, and the player presses right key, it moves the hero 10 tiles to the right side. It switches OFF left side, and switches ON right side.
This is what the event does:
The hero starts off on the left side. The player presses right key, and it sends the hero 10 tiles to the right side as it should. When the player presses left, it only sends the player left by 1 tile, and does not turn off phasing (which is set on at begin of movement, and set off at end of movement). Basically it breaks the event after the first use.
Screenshots:
Parallel event:
Page 1:
Page 2:

I have 2 events.
-1st event is a parallel event that records key input (left and right keys).
-2nd event is 2 pages, both auto-event. Page activity depending on which side the hero is standing. When the player is on the right side, it has the right side event switch on. Vice-versa for the left side.
This is what the event is supposed to do:
When the hero is on the right side, and the player presses left key, it moves the hero 10 tiles to the left side. It switches OFF right side, and switches ON left side.
When the hero is on the left side, and the player presses right key, it moves the hero 10 tiles to the right side. It switches OFF left side, and switches ON right side.
This is what the event does:
The hero starts off on the left side. The player presses right key, and it sends the hero 10 tiles to the right side as it should. When the player presses left, it only sends the player left by 1 tile, and does not turn off phasing (which is set on at begin of movement, and set off at end of movement). Basically it breaks the event after the first use.
Screenshots:
Parallel event:

Page 1:

Page 2:

Maybe you're nullifying the c
Page conditions by changing that variable before the move event gets to the end. Try waiting longer and pit the wait before wuoh change that variable
Page conditions by changing that variable before the move event gets to the end. Try waiting longer and pit the wait before wuoh change that variable
You just need one event. Set it like this and see if it works:
Trigger Condition: Auto-Start
Conditional branch: If SwitchXX: Off
-Key Imput: VariableXX (tick 'right' only)
-Conditional branch: If Variable XX=3
--Move event Hero: Right x10
--Wait until movement is done
--SwitchOper: SwitchXX: On
-End
End
Conditional branch: If SwitchXX: On
-Key Imput: VariableXX (tick 'left' only)
-Conditional branch: If Variable XX=2
--Move event Hero: Left x10
--Wait until movement is done
--SwitchOper: SwitchXX: Off
-End
End
Edit: Mmh. Maybe something else is interfering with it...
Trigger Condition: Auto-Start
Conditional branch: If SwitchXX: Off
-Key Imput: VariableXX (tick 'right' only)
-Conditional branch: If Variable XX=3
--Move event Hero: Right x10
--Wait until movement is done
--SwitchOper: SwitchXX: On
-End
End
Conditional branch: If SwitchXX: On
-Key Imput: VariableXX (tick 'left' only)
-Conditional branch: If Variable XX=2
--Move event Hero: Left x10
--Wait until movement is done
--SwitchOper: SwitchXX: Off
-End
End
Edit: Mmh. Maybe something else is interfering with it...
author=Dookie
Maybe you're nullifying the c
Page conditions by changing that variable before the move event gets to the end. Try waiting longer and pit the wait before wuoh change that variable
Yeah, that's what I had already tried, but it doesn't change anything.
author=alterego
You just need one event. Set it like this and see if it works:
End
Thanks, but it still breaks the event after the first time for some reason.
Pages:
1
















