Instalar Steam
iniciar sesión
|
idioma
简体中文 (Chino simplificado)
繁體中文 (Chino tradicional)
日本語 (Japonés)
한국어 (Coreano)
ไทย (Tailandés)
български (Búlgaro)
Čeština (Checo)
Dansk (Danés)
Deutsch (Alemán)
English (Inglés)
Español - España
Ελληνικά (Griego)
Français (Francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (Húngaro)
Nederlands (Holandés)
Norsk (Noruego)
Polski (Polaco)
Português (Portugués de Portugal)
Português - Brasil (Portugués - Brasil)
Română (Rumano)
Русский (Ruso)
Suomi (Finés)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Informar de un error de traducción
but thank you for pointing out, i'll find a way to prevent that error
AN ERROR HAS OCCURED [the index 'attacker' does not exist]
CALLSTACK
*FUNCTION [unknown()] scripts/vscripts/l4d1tank_attack.nut line [19]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]
LOCALS
[player] INSTANCE
[event] TABLE
[this] TABLE
[funcName] "OnGameEvent_player_incapacitated"
[idx] 4
[useTable] TABLE
[bWarnIfMissing] true
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "player_incapacitated"
[this] TABLE
[params] TABLE
[event] "player_incapacitated"
[this] TABLE
It messes with 'use grenades while incapped' addon
This would allow you to control the sound volume more precisely.
Here's an example of how you could use this method:
local distance =
(self:GetOrigin()
player: GetOrigin()): Length()
local volume = 1.0
(distance / 1000.0)
EmitSound("my_sound", "sound/
my_sound.wav", volume,
•
false)
This might be more accurate or might help you more.