AttachObjectToVehicle questions
#1

1. How do i make it so that whenever a vehicle respawns it will attach an object to it?
2. How do i make it so that players can walk through the attached object?
Will rep if you got me some good answers. (script: http://pastebin.com/3snK79vw )
Reply
#2

....
Reply
#3

Index every object you make in an array or something, destroy them when the vehicle gets destroyed and recreate them on vehicle spawn.

As for the collision thing, you can try attaching your object to objectid "19300". Wiki says "Tip: Use objectid 19300 to attach the object to. It is invisible and has no collision.". I've never tested this so have no idea how it will work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)