Divergent/mods/Gear Rustle Redone/gamedata/scripts/gear_rustle_sounds.script

10 lines
236 B
Plaintext

function on_game_start()
RegisterScriptCallback("actor_on_footstep", actor_on_footstep)
end
function actor_on_footstep()
xr_effects.play_snd(db.actor, nil, {
[1] = "gear-rustle\\tac_gear_" .. math.random(40)
})
end