Jump to content

Script Request


Ledomier

Recommended Posts

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 by Ledomier
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...