Wing Ayalamon 0 Report post Posted November 9, 2008 I'm kinda new to RGSS. I'm picking it up quickly, but I was wondering how to use event info based on the event calling the script. That probably doesn't make much sense so here's the code version: $game_variables[9] = $game_map.events.values[2].x this will give me the x value of the second event in the map... but I don't want the second event, I want to use the x value of the event that is calling the script. Any help is appreciated. Share this post Link to post Share on other sites
Leon 55 Report post Posted November 9, 2008 Use a variable. That is a hint. Instead of the number '2', use a variable to call up the event's ID. If you need mroe syntaxes related to variables, use the RGSS Library in the Help file. Share this post Link to post Share on other sites
Wing Ayalamon 0 Report post Posted November 10, 2008 Thank you, it all makes sense now. You're awesome Leon, and we need more of your scripting classes :P Share this post Link to post Share on other sites