DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ PlaySoundEx()

void map::PlaySoundEx ( string soundset,
EffectSound sound,
out bool soundbool )
inlineprotected

См. определение в файле Transport.c строка 963

964 {
965 #ifndef SERVER
966 #ifndef NO_GUI
967 if (!sound)
968 {
969 sound = SEffectManager.PlaySoundCachedParams(soundset, GetPosition());
970 if( sound )
971 {
972 sound.SetAutodestroy(true);
973 }
974 }
975 else
976 {
977 if (!sound.IsSoundPlaying())
978 {
979 sound.SetPosition(GetPosition());
980 sound.SoundPlay();
981 }
982 }
983
984 soundbool = false;
985 #endif
986 #endif
987 }
Определения Transport.c:70
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473