- Jul 16, 2010
- 46
- 54
I'm working on a kind of cart (though I'll call it a train, because it's a standard func_tracktrain) that moves along its rail as usual, but on contact with a player, the train explodes as if it were loaded with explosives.
I've gotten the train running smoothly (following the track, stopping, then looping back around again), but when it makes contact with a player, I'm not sure how to remove the train so that it doesn't look like it's still intact.
Of course, I don't want to permanently kill the train, but rather keep it intact somewhere (or respawn it) so it can continue to run along the tracks.
Does anyone have a suggestion on how to either teleport the train away after impact, or perhaps kill it and respawn it later? I can't find any way to remove the train without permanently killing it.
I've gotten the train running smoothly (following the track, stopping, then looping back around again), but when it makes contact with a player, I'm not sure how to remove the train so that it doesn't look like it's still intact.
Of course, I don't want to permanently kill the train, but rather keep it intact somewhere (or respawn it) so it can continue to run along the tracks.
Does anyone have a suggestion on how to either teleport the train away after impact, or perhaps kill it and respawn it later? I can't find any way to remove the train without permanently killing it.