From c619d5e5bb05e6d28f2701381ed6d1116913605e Mon Sep 17 00:00:00 2001 From: CosmosScripter <50247544+CosmosScripter@users.noreply.github.com> Date: Wed, 28 Jul 2021 19:54:48 -0300 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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==