RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Event Q,

Started by &&&&&&&&&&&&&, January 02, 2007, 04:02:38 AM

0 Members and 1 Guest are viewing this topic.

&&&&&&&&&&&&&

I was wondering, if there is a way to make an event react when it is touched by another event. I was thinking of a puzzle, but I can only do it if I can make this work.

Example- You push a rock onto a switch to open a door.
&&&&&&&&&&&&&&&&

Reives

By eventing:


Make 2 variables named obj X and obj Y

Make 2 variables named Destination X and Destination Y

Make a parallel process event, set objX and ObjY to the object's x and y location (available in the variables panel).

Set dest. X & Y to the destination's X and Y values.

Conditional branch: if objx = dest.x; then if objy = dest.y, execute commands.

&&&&&&&&&&&&&

I was think of something like that, thanks.
Could I just have the OBJECT LOCATION and have two conditional braches?
&&&&&&&&&&&&&&&&

Reives

Eh, I'm not exactly sure what you mean.

&&&&&&&&&&&&&

#4
Sorry, my ideas I come up with are not all that great, and that happen to be a "raw" one.
What I mean is can you have to contional branches in an event to check for X and Y.

Conditional branch X=10
Conditional branch Y=1
  (open door)

Else case

End
Else case

End 


Quote from: Reives on January 02, 2007, 04:16:22 AM
By eventing:


Make 2 variables named obj X and obj Y

Make 2 variables named Destination X and Destination Y

Make a parallel process event, set objX and ObjY to the object's x and y location (available in the variables panel).

Set dest. X & Y to the destination's X and Y values.

Conditional branch: if objx = dest.x; then if objy = dest.y, execute commands.


Could this be used to make a moving event react to the other?

Example- A moster that is running around and you have to touch it with a cage to capture it.
&&&&&&&&&&&&&&&&

Reives

Yes that would work.

And yes, it can be used for the thing you are talking about. Although, it's the exact same thing I did a while ago and someone complained that it was so hard he didn't play past it. :/ But I don't really think it would be a prob.