![]() |
sounds that every1 can hear without gani
Im wondering how I can serverside sounds in a level npc. I tried play serverside but it doesn't work. Idea's?
|
It's good to play sounds clientside. x-x'
I don't think you can play sounds serverside, i never tried at least. |
You are supposed to use ganis, or play sounds directly on the clientside for everybody.
|
should I trigger action to clientside to play sounds? will that allow everyone to hear?
|
You would then need to trigger every client in a loop.
|
clientside is your own view, so if you trigger it back to clientside from serverside only you will hear it.
|
erm...
//#CLIENTSIDE if (created) play sound.wav; doesnt work anymore? (in a level npc) |
I assumed he wants a clientside NPC on a certain clientside, local action to play a sound to everybody.
|
a for playerscount loop?
|
I suppose you could make a weapon
NPC Code://#CLIENTSIDE and anotherone NPC Code://#CLIENTSIDE then if you said like stef21.mid then fired the weapon everyone would hear the sound, but meh. |
I still would prefer the use of ganis :\
If a player is lagged, the triggeractions will not even hit, and such a cumbersome workaround is a hack anyway :p |
I got a weapon with a timeout loop, and it checks if !the string client.string is empty. If it ain't it will play that. Serverside I do a for playerscount loop, and set the string..
I don't use this a lot though, I got ganis for most of that stuff. |
Quote:
Just make an empty gani (put a blank image in there so it doesn't default to idle :\ ) and have it play it's params in ganiscript, then use that for any sound you want to send to every other player, there isn't much need to find a workaround for something that works just fine |
| All times are GMT +2. The time now is 02:44 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.