Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Pushing rock events over switches to activate
« previous next »
  • Print
Pages: [1]

Author Topic: Pushing rock events over switches to activate  (Read 2610 times)

Offline urbanastronomy

  • Initiate
  • *
  • Posts: 4
Pushing rock events over switches to activate
« on: April 11, 2009, 11:51:00 PM »
I'm not sure if this question has already been asked (I skimmed the thread and saw nothing).  I'm using RM2k, cause I'm old skool, and I'm looking to install switches on the floor of a dungeon that can only be activated by pushing rock events on top of them.  This was done in Blades of Heaven, but I can't figure out how.  Do I need to run a script or use 2k3, or is there some bending I can do with events in RM2K?
Logged

Offline Red Giant

  • Leader
  • *
  • Posts: 2,608
  • The best damn bio in the whole damn world. YEAH!!
Re: Pushing rock events over switches to activate
« Reply #1 on: April 11, 2009, 11:57:09 PM »
What you need to do is record the position of the rock. Make a parallel process event and two variables named, like, RockX and RockY. Always set RockX to the rock's x-position and RockY to the rock's y-position. For the success event, make another event or fork which is activated by the Rock's X and Y position being identical to the switch's.
Logged

Offline urbanastronomy

  • Initiate
  • *
  • Posts: 4
Re: Pushing rock events over switches to activate
« Reply #2 on: April 12, 2009, 12:01:24 AM »
Will do.  Thanks very much.
Logged

Offline urbanastronomy

  • Initiate
  • *
  • Posts: 4
Re: Pushing rock events over switches to activate
« Reply #3 on: April 12, 2009, 12:28:22 AM »
Ok - I'm stuck again.  How do I get the variables I set for the rock's X and Y positions to change each time the character moves the rock?
Logged

Offline urbanastronomy

  • Initiate
  • *
  • Posts: 4
Re: Pushing rock events over switches to activate
« Reply #4 on: April 12, 2009, 12:33:47 AM »
nm - got it.  Thanks again.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Pushing rock events over switches to activate
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum