shaynec1981 32 Posted November 30, 2014 I'd like to be able to trigger and event that the character jumps onto. For example, have an event with the graphic of a hole, the player in my game can jump onto a normally nonpassable tile if the region ID on that tile is 63. I thought that if I set the event to trigger with "player touch" that when the character lands on the event, it would trigger. However this does not work. How could I make this work? If the only feasible way is through scripting, thats no problem but I was wondering if there was another alternative? Share this post Link to post Share on other sites
RetroExcellent 369 Posted November 30, 2014 Perhaps this tutorial will help? http://www.rpgmakervxace.net/blog/209/entry-567-lesson-one-ledges-and-jumping/ Share this post Link to post Share on other sites
shaynec1981 32 Posted November 30, 2014 Well, the event needs to trigger when the player actually jumps on it. For example, falling into a hole. With a little help, I realized that I could just check the players position (which I put into an array) in comparison with the event in questions postion ($game_maps.events(@event_id).x & y) and when those matched with a conditional cause whatever I wanted to happen. That works except it get VERY event heavy for what I need it for and lags the game. So I thought, instead of using an event in each position, why not just create a 2d array containing all holes in the current map and compare that to the players position array. This works too except that its too slow to check. I can stand in one of the latter entries in the 2D array and it could take a couple seconds for the script to cycle through all the available array elements until it gets to the one I'm currently standing on. So now I'm a little stuck again... Share this post Link to post Share on other sites
+ dbchest 160 Posted December 2, 2014 i created a new project: used default starting position converted water to grass: used world tileset: placed hole graphic at player start position y +1. i created a new event: location (0, 0) : below character: parallel process; if A button being pressed, set player move route (jump y +1(wait for completion)) i created a new event: location (hole): below character: player touch ; message "success." ran playtest...pressed shift...message was shown. i don't understand why you're having problems? it seems like jumping onto and event does work... Share this post Link to post Share on other sites