Train Spawning with wagons
#1

Hey, I have another problem, this time its about trains.

1. Do i need to save the coordinates on the track so the train will spawn there? (on the tracks)
2. How do i attach the wagons to the locomotive? I think i need the AttachTrailerToVehicle command, but where do i have tio put it?

Oh, by the way, I want to spawn a freight train (with freight wagons)

thanks for your answers!

Hilax
Reply
#2

Basically spawn the train near the tracks and it will auto connect to the rails.
Yes, use AttachTrailerToVehicle to connect them. Make sure both vehicles are in the same world.

Simple.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)