-
Expression to play sound on event
Hi all,
I used an expression to randomize visibility of a muzzle flash. Values are either 0 or 100% for the flash’s opacity. I have a sound file of a single bullet being fired from a gun and I was wondering if there was an expression to play the file every time the flash’s opacity was 100%.
Can anyone help with this?