Save-Point
Super Simple Vehicle System - Enhanced - Vehicle Placement - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Super Simple Vehicle System - Enhanced - Vehicle Placement (/thread-5147.html)



Super Simple Vehicle System - Enhanced - Vehicle Placement - DerVVulfman - 05-19-2014

Super Simple Vehicle System - Enhanced
Add-On: Vehicle Placement
Version: 1.2


Introduction
This add-on to the 'Super Simple Vehicles System - Enhanced', allows you to move your vehicle events from one x/y location to another, even after having used the vehicle.


Script
The Script


Credits and Thanks
Hey, thanks to habs11 for noting this and asking for this system.


Terms and Conditions
Free for use, even in commercial games.


RE: Super Simple Vehicle System - Enhanced - Vehicle Placement - DerVVulfman - 05-21-2014

BUMP
to version 1.1


Well, it wasn't FULLY compatible.

I totally forgot how the vehicle system stored the x/y location of the vehicles in the event you left the map and then returned. This storage feature allowed you to park your car wherever you wished and it wouldn't reset back to where the event first spawned.

So I went and tapped into that storage array and supply the newer data for when this new command is used.... And now, the new version is borne.


RE: Super Simple Vehicle System - Enhanced - Vehicle Placement - DerVVulfman - 05-22-2014

BUMP
to version 1.2


Aaaarrrrhhh!!! *Headdesks*

When you board a vehicle, you erase the original event. When you exit the vehicle, a new event is created. So I used the feature that stored vehicle location for the placement for the 'new' event created thus. But when you exit a map and return, the original event returns and in the place you actually exit the vehicle.

*DOH!*

So I had to include a system that ensured that the returned 'original' event also moved according to the placement system.