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

10 lines
236 B
Plaintext
Raw Permalink Normal View History

2024-03-17 20:18:03 -04:00
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