Ledomier Posted August 27, 2011 Share Posted August 27, 2011 (edited) I'm making a custom weapon and i need a script that will cause it to randomly play 1 of 2 custom sounds half a second after an enemy dies from a critical hit.I tried figuring it out myself but scripting just seems way over my head. Edited August 27, 2011 by Ledomier Link to comment Share on other sites More sharing options...
stevie70 Posted August 27, 2011 Share Posted August 27, 2011 I'm making a custom weapon and i need a script that will cause it to randomly play 1 of 2 custom sounds half a second after an enemy dies from a critical hit.I tried figuring it out myself but scripting just seems way over my head.for scripting random effects, you'd set a variable to GetRandomPercent and then run if-blocks depending on that value. like if variable < 50 do this, if variable >= 50 do that Link to comment Share on other sites More sharing options...
Recommended Posts