Author Topic: [SCRIPT] Randomized Sounds on Spawn/Death/Kill  (Read 3877 times)

can an addon change it, or would that be a overwrite the file with your own and set to read-only?

youd just do something like spawnExplosionSound.fileName = "pathToNewSound"; in the addon, it would execute before the datablocks are sent to anyone effectively changing them before anyone received them with the original sound filenames

i guess just need to make sure you run that code after the original addon executes
either with naming or with a schedule?

You can rewrite player::playdeathcry to play random sounds on death.

i guess just need to make sure you run that code after the original addon executes
either with naming or with a schedule?
blockland's default datablocks should exist before any addons are executed?