The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: windkirby on June 12, 2007, 04:36:53 PM

Title: [RESOLVED] Pushing puzzle and the resistance of E. (RMXP)
Post by: windkirby on June 12, 2007, 04:36:53 PM
PUSHING PUZZLE:

I'm having trouble with this one, because I want the event to roll until it hits something rather than just go one space.

Screenshot:
http://i78.photobucket.com/albums/j106/blakekiko1234/Avatar%20Game%20Screenshots/1-01-04-06Technical.jpg

The current event script for Sphere 1 (the one to the right) is:
Speed: Fast
Frequency: Highest
Trigger: Action Key
---
Play SE: Push 80, 100
Cond Branch: Player Facing Down
<>Move Event: This Event (Repeat, Ignore Impossible)
<><>Move Down
<>Else Handler:
<><>Cond Branch: Player Facing Left
<><><>Move Event: This Event (Repeat, Ignore Impossible)
<><><><>Move Left
<><>Else Handler:
<><><>Cond Branch: Player Facing Right
<><><><>Move Event: This Event (Repeat, Ignore Impossible)
<><><><><>Move Right
<><><>Else Handler:
<><><><>Cond Branch: Player Facing Up
<><><><><>Cond Branch: Variable [26: 1-01-04sphere1x]=18
<><><><><><>Cond Branch: Variable [27] 1-01-04sphere1y]=4
<><><><><><><>Switch: [121: TEMP1-01-04holedspr]=ON
<><><><><><>Else Handler:
<><><><><><><>Move Event: This Event (Repeat, Ignore Impossible)
<><><><><><><><>Move Up
<><><><><>Else Handler:
<><><><><><>Move Event: This Event (Repeat, Ignore Impossible)
<><><><><><><>Move Up
Wait: 60 frames
Variable: [26: 1-01-04sphere1x]=This Event X Coords
Variable: [27: 1-01-04sphere1x]=This Event Y Coords

The problem with THIS formula is that one must wait three entire seconds after pushing the sphere to be able to do anything at all. Another problem is that if the sphere hits the ghost, then it continues moving the moment the ghost moves out of the way, which is not how the puzzle is designed. Does anyone have any suggestions? Thank you SO MUCH because this has been a real pain trying to figure out...

E RESISTANCE:

One of my heroes has an E resistance to the element of water, but whenever she's hit with it, it does 0 damage. Is this normal, and if it is, is there a way to change it so it's not so ineffective? I don't want to change it to D, but I guess I may have to...

Thanks again for looking!
Title: Re: Pushing puzzle and the resistance of E. (RMXP)
Post by: windkirby on June 15, 2007, 07:02:44 PM
No one?  :-[ Not even with the resistance thing?
Title: Re: Pushing puzzle and the resistance of E. (RMXP)
Post by: Forty on June 16, 2007, 12:44:02 AM
For the first problem, just put it as Repeat Action and Ignore if can't Move their at the bottom left of the move screen thing

AS for the other problem, I think D=Weaken E=Nullify and F=Heal

Does this fix the problem? Add [Resolved] to the topic title
Title: Re: Pushing puzzle and the resistance of E. (RMXP)
Post by: windkirby on June 16, 2007, 02:16:55 AM
Thank you about the resistance thing! However, I already have both repeat and ignore impossible moves in the event's movement. However, I just got a new idea: putting the variable modifications at the beginning. If it works out, I'll place resolved in the title. Thank you again for your help!
Title: Re: Pushing puzzle and the resistance of E. (RMXP)
Post by: windkirby on June 21, 2007, 03:15:42 PM
I managed to fix it. I'll change the topic title now.