Save-Point

Full Version: Super Simple Vehicle System - Enhanced - Vehicle Placement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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.