The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: samfortunato on July 15, 2011, 06:39:11 PM

Title: [Resolved] [RM2k3] ABS Help?
Post by: samfortunato on July 15, 2011, 06:39:11 PM
Hi all,
I'm trying to create an ABS based off of this tutorial: http://rmrk.net/index.php/topic,39913.0.html . What I've done is that I've set up two parallel process common events: one common event sets the Player's X and Y coordinates by means of "Variable Operations", and the other is a common event that controls the weapon: it checks if the player is pressing shift, and if so moves an event on the map called 'Weapon' to where the Player is (i.e. the Player's coordinates), and moves it in a direction according to the Player's direction. It's based off of the chunk of text titled 'How the Weapon Works' in the tutorial.

Now, I have the 'Weapon' event on the top left corner of the map. When I go to the event and press shift, the event moves, but it doesn't warp to where the player is. I have it so, in the Weapon's common event, right after the player presses shift, it moves the 'Weapon' event via "Change Event Location" to X and Y coordinates stored in variables (the Player's position, which should be being stored constantly through another common event). I'm thinking something might be wrong with that. Basically my question is, whats wrong with this? Is it the Player coordinate thing? Please help, thank you very much!

EDIT: Resolved; I had an extra event that moved the event back to the top left corner of the map. Didn't need that and I don't think any problems would arise without it, took it off and it worked.