The (Multi) Exit Point Controller
This lets you change the exit point of vehicles easily using either (per vehicle) localized positions or a common global position.
It has an array input, and that means my Adv Entity marker is EXTREMELY useful for this. So I suggest getting both. 
To use it, simply get an array of all the vehicles you want to use and wire Position to something. Remember that Global determines if it's a local or a global position. If you wire Global to 0 (or leave it unwired) it will use the position localized to the vehicle.
Since this could be abused A LOT: Get an E2 that finds all the vehicles on the entire map and outputs them to the exit point controller. With this you could (if I hadn't prevented this) teleport any exiting player to a position of your choice. For example into an anti noclipped box.
Because of this, I added some checks which use CPPI (So remember! If you don't have CPPI, people _WILL_ be able to abuse this).
(CPPI is what most prop protections use, according to Feha. I've not confirmed it, but I trust him. I do know that SPP uses it.)
The allowance check works like this. Any one of these conditions must be met for the player to be teleported.
---- If the server has CPPI
- if the owner of the vehicle is equal to the owner of the exit point
- if the exiting player has the owner of the exit point in PP Friends
- if the owner of the vehicle has the owner of the exit point in PP Friends
---- If the server does not have CPPI
- if the distance between the exit point and the vehicle is less than 1000
Video
http://www.xfire.com/video/256492/
Download
You need to use SVN to download this. Use the SVN tutorial in my signature if you need to.
Code:
http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Or direct link:
http://divranspack.googlecode.com/svn/trunk/%20divranspack/Exit%20Point%20Controller
Bookmarks