Posts: 130
	Threads: 9
	Joined: Oct 2009
	
	
 
	
	
		er... yeah, player touch will freeze you until it gets an input >.>;
You could make it a PP event that sets some variables to the palyer's X and Y values when they push the button, then triggers the event if the player's coordinates are right below it?
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 2
	Joined: Feb 2010
	
	
 
	
	
		That's what I was thinking!!
But I have no idea how to do that.  I've done it before, I remember there were variables involved.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 130
	Threads: 9
	Joined: Oct 2009
	
	
 
	
	
		Control Variable > Character > Map X/Y
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 2
	Joined: Feb 2010
	
	
 
	
	
		Like this?
	 
	
	
	
	
 
 
	
	
	
		
	Posts: 130
	Threads: 9
	Joined: Oct 2009
	
	
 
	
	
		Put the X/Y check inside the branch for the button input processing, since it only has to check it when the key is pressed o_o/
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 2
	Joined: Feb 2010
	
	
 
	
	
		Like this?
![[Image: event2.png]](http://www.majhost.com/gallery/Sphax/Photos/event2.png)
Also, just checking, how do you figure the X and Y values? I'm probably not doing it right because i suck haha.
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 855
	Threads: 15
	Joined: Nov 2009
	
	
 
	
	
		I think this can't work... it checks if the variables have the values, but the values are set within the cond. branch. So it will never get in there.
1. Button input processing
2. The con. branch of the button input processing
3. then like in the following pic, control both variables and so on...
	 
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 2
	Joined: Feb 2010
	
	
 
	
	
		![[Image: event3.png]](http://www.majhost.com/gallery/Sphax/Photos/event3.png)
This?
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 855
	Threads: 15
	Joined: Nov 2009
	
	
 
	
	
		just put the control variables [002] = player maps X and Y before the cond branch where you check these both variables to be 9 and 13, then it should work
	
	
	
	
	
 
 
	
	
	
		
	Posts: 16
	Threads: 2
	Joined: Feb 2010
	
	
 
	
	
		It worked!!!! It worked!!! It worked!!
Thank you all SOOOOO much for your help and support!! You are sooo awesome! :)
HOLD UP. *everyone groans*
Before this thread is closed.  I'm running into some problems when I try to make a switch for this to turn into a brown block after being hit.  Why?
Ha, never mind. FIXED :)