Player Spawn Sound
by Chris "C2" Byars · in Torque Game Engine · 07/30/2005 (7:58 am) · 2 replies
I've been at it for nearly two hours trying to figure out how to cause a 3D sound to be played when and where a player spawns. What is the syntax/command to do this the way it needs to be done?
#2
I put
In there, but it seemed to only play the sound on a random basis, not every time the player spawned or re-spawned.
07/30/2005 (9:36 am)
That is where it should be done, I thought. Yes, of course, I have tried a lot of attempts to play a sound in the createplayer function, to no avail. I put
ServerPlay3D(SpawnSound,%spawnPoint);
In there, but it seemed to only play the sound on a random basis, not every time the player spawned or re-spawned.
Torque Owner David Stewart
Have you tried playing a sound in the createplayer function? (in the game.cs file, in the server folder)