Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Movable Object Puzzles
Reply
Posted 2006-05-08, 02:36 AM
I think I've done this before, but I can't for the life of me remember how. I'm using RPG Maker XP, and maybe it's a little different than the older ones, or maybe I'm just amnesiac.

I'm trying to figure out how to make it so that when I push a boulder from quite some distance onto a specific square, a switch is turned on and the boulder is rendered immobile. The way I have it set up now makes it so that, for some reason, I can push the boulder once more after it hits that space, and THEN the switch goes on.

There's probably an easy answer for this one, but I just can't find it.
Old
Profile PM WWW Search
Limburglar is neither ape nor machine; has so far settled for the in-betweenLimburglar is neither ape nor machine; has so far settled for the in-between
 
Limburglar
 



 
Reply
Posted 2006-05-08, 03:03 AM in reply to Limburglar's post "Movable Object Puzzles"
Well without knowing exactly what your code is I can't say for sure what's wrong. I suggest you make the place the boulder must be moved on a place that the boulder can only be pushed to from a certain square and couldn't be pushed any other way once there (a short 1 square wide pathway).
Old
Profile PM WWW Search
Noble Swordsman is neither ape nor machine; has so far settled for the in-betweenNoble Swordsman is neither ape nor machine; has so far settled for the in-between
 
 
Noble Swordsman
 



 
Reply
Posted 2006-05-08, 10:37 AM in reply to Limburglar's post "Movable Object Puzzles"
At the beginning of the area:

Set a variable equal to the "switch" X location
Set a variable equal to the "switch" Y location


After you push the boulder (same event):

Set a variable equal to Boulder's X tile
Set a variable equal to Boulder's Y tile
Branch if BoulderX is equal to SwitchX
____Branch if BoulderY is equal to SwitchY
_______Set switch [xxxx:AwesomeSwitch] ON
____:End
:End

Your AwesomeSwitch could open a door and render the boulder unmovable, among other things
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2006-05-08, 06:46 PM in reply to BlueCube's post starting "At the beginning of the area: Set a..."
Primo, BlueCube! Thanks a lot.
Old
Profile PM WWW Search
Limburglar is neither ape nor machine; has so far settled for the in-betweenLimburglar is neither ape nor machine; has so far settled for the in-between
 
Limburglar
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:18 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.