WelshyYT 1 Posted June 30, 2018 Hello All, I was wondering is there anyway that you can randomize a state of a model when it is placed down in the game. I have 2 models, I have a normal soda can and I also have a crushed one. I am interested to know instead of having 2 classes for each model, can I have just one class name and have it randomly select either the can will be crushed or not crushed. I am generally stuck and I have no idea if this idea is possible. Thanks, Welshy Share this post Link to post Share on other sites
Dedmen 2724 Posted July 3, 2018 You can use a init eventhandler script to sometimes replace the model by the crushed one when you spawn it. Or you could use model.cfg animations. There is a animationSource that's random per object placement. Share this post Link to post Share on other sites
Crielaard 435 Posted July 24, 2018 put both models in one p3d and use the hide animation on both. randomise in the init that way how it looks. Share this post Link to post Share on other sites