Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Make a event activate another
drei7717
post Mar 5 2012, 07:14 PM
Post #1


Level 4
Group Icon

Group: Member
Posts: 48
Type: Writer
RM Skill: Intermediate




Hey there, does anyone know how to make an event activate another event? For an example: I push a bolder on to a switch to open a door. I found out how to do it for RMXP but it doesn't seem to work for RMVX. Here's what I did.

In the game I'm making you have to fill a bucket with water so it's heavy enough to sit on the switch


By drei7717 at 2012-03-05

Have to fill it up some more


By drei7717 at 2012-03-05

Once the bucket is full you are able to push the bucket. as you can see i made a variable selfx and selfy to set the X and Y coordinates for the bucket. then I created two conditional branches so if the buckets X and Y coordinates is the same as the switches X and Y coordinates then the event with activate (Pretty much if the bucket is on top of the bucket it will activate). If the bucket is pushed of the switch then the switch will go off.


By drei7717 at 2012-03-05

But for some reason the event work. Like I said earlier it worked with RMXP but it doesn't work with VX. I think that's kinda weird. Can someone explain what I'm doing wrong and what I should really do?

Go to the top of the page
 
+Quote Post
   
DrDhoom
post Mar 5 2012, 08:58 PM
Post #2


Level 2
Group Icon

Group: Member
Posts: 29
Type: Scripter
RM Skill: Intermediate




do you already fix VX event bug? i think that's the point...


__________________________
Need a Scripter? PM me!
Go to the top of the page
 
+Quote Post
   
munkis
post Mar 6 2012, 04:32 AM
Post #3


Woah, dude...
Group Icon

Group: Revolutionary
Posts: 197
Type: Writer
RM Skill: Intermediate




The game interpreter fix was for using actor stats in variables.

EDIT: Yeah, that is weird, I don't see what you're doing wrong there either. I've always had some trouble with nested conditional branches.

This post has been edited by munkis: Mar 6 2012, 04:34 AM


__________________________
Go to the top of the page
 
+Quote Post
   
GubiD
post Mar 6 2012, 01:27 PM
Post #4


Level 9
Group Icon

Group: Revolutionary
Posts: 145
Type: Scripter
RM Skill: Masterful




Why not use a variable for bucket fill

If bucketfill >= 2 then... blah

No point wasting multiple switches on something like this.


__________________________



Go to the top of the page
 
+Quote Post
   
Moonpearl
post Mar 7 2012, 07:01 AM
Post #5


Level 5
Group Icon

Group: Member
Posts: 73
Type: Developer
RM Skill: Advanced




Have a closer look at your last screenshot. You're not checking for X then Y, you're checking for X twice. So obviously the same variable can't be 6 and 25 at the same time. happy.gif


__________________________





Go to the top of the page
 
+Quote Post
   
drei7717
post Mar 7 2012, 01:28 PM
Post #6


Level 4
Group Icon

Group: Member
Posts: 48
Type: Writer
RM Skill: Intermediate




QUOTE (Moonpearl @ Mar 7 2012, 07:01 AM) *
Have a closer look at your last screenshot. You're not checking for X then Y, you're checking for X twice. So obviously the same variable can't be 6 and 25 at the same time. happy.gif

Oops didn't see that tongue.gif thanks a lot it works now, and thanks to the other guys too biggrin.gif
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 12:29 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker