Unable to find function addMessageCallback
by Anthony Rosenbaum · in Torque Game Engine · 08/14/2004 (10:08 am) · 6 replies
We've been adding some new audios in, I felt adding them as messages would be a nice way to distribute call the sound on various clients. The work like a charm when you host a local client. However when it is a dedicated server it doesn't even know about the addMessageCallBack() function.
I thought exec the files would work, which did to remove the errors. But the sound are not triggered. Can anyone tell me why?
Quote:
Loading compiled script fps/server/scripts/audioCues.cs.
fps/server/scripts/audioCues.cs (0): Unable to find function addMessageCallback
I thought exec the files would work, which did to remove the errors. But the sound are not triggered. Can anyone tell me why?
About the author
#2
08/14/2004 (12:31 pm)
Apparently only a comamndtoclient to trigger a playalx on the client is the only way I was able to succeed
#3
08/14/2004 (11:20 pm)
That's very mysterious... Has anybody else had trouble with the play2d/play3d methods?
#4
08/15/2004 (5:46 am)
Argh I thought it was working but no it isn't now =). I tried experimenting with the play2d again. All I got was a rumbling sound which was not expected. Blast these sounds !!!!
#5
08/15/2004 (10:07 am)
DOH I was was making new audioProfiles instead of datablock audio profiles. . . curse you server/client differances
#6
08/15/2004 (11:41 am)
Works now?
Associate Kyle Carter