FOnline Development > Questions and Answers
need some help with critter.PlaySound()
(1/1)
adumbperson:
Hey readers;
In past I had already fix that glitch with the WIpe's help.
But today I understood that I could do this more properly...
So well...
I defined container sound as the doors in _defines.fos.
--- Code: ---#define SOUND_CONTAINER 'I'
#define SOUND_CONTAINER_OPEN 'O'
#define SOUND_CONTAINER_LOCK 'L'
#define SOUND_CONTAINER_CLOSE 'C'
#define SOUND_CONTAINER_NOT_OPEN 'N'
--- End code ---
but it doesn't work as the doors with
--- Code: ---cr.PlaySound(uint8 soundType, uint8 soundTypeExt, uint8 soundId, uint8 soundIdExt, bool sendSelf)
--- End code ---
It would be awesome to get some light from people who know the inner working of this member function...
Thanks to those about to give some light about it... as said I have a working piece of code but I wanted to rewrite properly the thing...
That's all for now.
Navigation
[0] Message Index
Go to full version