random train spawn

Morloc

L1: Registered
Mar 18, 2009
15
0
Hi all

I understand the process of creating moving trains but how do I go about getting it to spawn different types of train.

for example I have a train that goes from A to B and teleports back to A to begin the cycle again.

What i would like to have is that some how there are say 3 types of train that are randomly picke to go from A to B. Im sure this can be done but cant get my head around it yet.

All help/pointers welcome.

Morloc
 

Nimelrian

L2: Junior Member
Jun 13, 2010
64
6
logic_case with "pick random" inputs which parent a trainmodel to a func_tracktrain.
 

Morloc

L1: Registered
Mar 18, 2009
15
0
Hi

So when a train gets to B, would i need to kill that train and then the logic would spawn the random train at A?

thanks

Morloc