diff --git a/README.md b/README.md index 0cf9704..2b4ecef 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,18 @@ Incase the sound source is moving, it has a pitch change if moving towards the p How to use: -sound_distance_play(pos, sound, sound_gain, distance, moving, yaw) +sound_distance_play(pos, sound, sound_gain, distance, moving, yaw, vel, force_sound_speed) Example: -sound_distance_play(self.object:get_pos(), "example_sound", 1, 16, true, self.object:get_yaw()) +sound_distance_play(self.object:get_pos(), "example_sound", 1, 16, true, self.object:get_yaw(), self.object:get_velocity(), false) --------------------------------------------- See: license.txt for license. Special thanks to Astrobe, as their feedback improved this mod. Special thanks to TenPlus1, as the "get_distance" function is from mobs redo. --------------------------------------------- -Depends on: default. +Depends on: default, tnt. --------------------------------------------- ==HOW TO INSTALL THE MOD==