6./ZG26_Emil Posted April 22, 2016 Posted April 22, 2016 I have a train that starts at one location and ends up at another. I would like it to despawn and then respawn at the first location and possibly throw in some random change it would not respawn. I have seen there is a [random chance] value that can be changed from 0-100%....I guess 100% is a guaranteed spawn and 0 zero chance? If anyone has one like this that I can copy or can help me out it would be appreciated
coconut Posted April 22, 2016 Posted April 22, 2016 Here is something that should get you started. If you want it to respawn after being destroyed, connecting OnKilled or OnDamaged to the Respawn node should do the trick. TrainRus.zip 1
6./ZG26_Emil Posted April 22, 2016 Author Posted April 22, 2016 Here is something that should get you started. If you want it to respawn after being destroyed, connecting OnKilled or OnDamaged to the Respawn node should do the trick. Thanks Coconut!
coconut Posted April 22, 2016 Posted April 22, 2016 ... and for the random thing, I think there is a restartable random choice group in the groups thread.
JimTM Posted April 22, 2016 Posted April 22, 2016 Here's a test mission with the random element (based on Coconut's design). The train has a 75% chance of respawning. JimTMTestTrainSpawn.zip
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now