Posts: 150
Threads: 16
Joined: Nov 2008
Reputation:
0
Hey,
I created a stunt map wich is located in the air.
I also scripted some vehicles on it.
But, when I do the command to go to the map, the vehicles spawn earlier than the map does, so the vehicles just fall down.
Do you know how to solve this ?
Thanks
Posts: 20
Threads: 10
Joined: Jul 2007
Reputation:
0
adding a timer might work
Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
Set the virtual worlds of the vehicles to a different one to the player, then in a timer put them back to the player's world.
Use SetVehicleRespawn() in a timer.
Put the vehicles higher so they actually fall down onto the objects.
SetVehiclePos() in a timer.
Posts: 150
Threads: 16
Joined: Nov 2008
Reputation:
0
Well, I just checked it again. Is it possible to 'freeze' the vehicles until a player enters it ?
Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
Erm, if it's on an object, isn't it frozen then..?
Posts: 870
Threads: 26
Joined: Mar 2009
Reputation:
0
The problem is that maybe your objects are streamed but the vehicles are not (they are in your GM) , this will make the vehicles to load instantly but the objects might take some time
Posts: 870
Threads: 26
Joined: Mar 2009
Reputation:
0
Alright listen .. The cars must be on 1 surface or maybe more .. For example like you have a helipad (object) and a heli (vehicle) .. The heli is in the GM but the helipad is streamed , so you will need to un-stream the helipad so that the heli doesnt fall down .. Similarly just unstream the object on which the vehicles are meant to spawn on
Posts: 150
Threads: 16
Joined: Nov 2008
Reputation:
0
Ooh, alright. will do that! Thanks