Joined: Sep 10, 2018
Posted: Sep 10, 2018 01:09 PM
Msg. 1 of 1
I came up with a method similar to what CMT used before with syncing these online. I did this by setting the destroyed threshold to negative one which would erase the vehicle from existence upon death, which the client would see. It would play an effect that explodes and spawns a destroyed vehicle in its place. This method had a flaw in that the vehicle would delete players inside when that threshold was reached. I got around this with scripts and having normal vehicle destruction happen at zero, which would always kill the player before deleting the vehicle.
I wanted to ask how CMT got around this problem and what they did to prevent exception errors. I'm still having some issues getting this to work properly with scripts, my knowledge is fuzzy right now.