MV Yanfly Action Sequences, percentage chance?

In YEP Action Sequences is there a way to play a sound effect with a percentage chance?
Do you mean to play a random sound effect based on percentage chances or simply to just play a predefined sound effect based on chance?
You can use the default Math.random() which generates a value from 0 to .9 barred. So to do something with a 30% chance:
Code:
if Math.random()<.3
    action sequence commands
end
Do you mean to play a random sound effect based on percentage chances or simply to just play a predefined sound effect based on chance?
A specific sound
You can use the default Math.random() which generates a value from 0 to .9 barred. So to do something with a 30% chance:
Code:
if Math.random()<.3
    action sequence commands
end
Ah, this is pretty much exactly what I was looking for, thanks~

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequences-percentage-chance.155865/