Author Topic: need some help with critter.PlaySound()  (Read 2471 times)

Offline adumbperson

  • Turn around in orbit!
need some help with critter.PlaySound()
« on: October 03, 2017, 11:00:37 pm »
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: [Select]
#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'

but it doesn't work as the doors with
Code: [Select]
cr.PlaySound(uint8 soundType, uint8 soundTypeExt, uint8 soundId, uint8 soundIdExt, bool sendSelf)
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.
The Death After Life.
About me. I hate people generally I still may have respectful talk and recognize the good persons. Careful to what you say, I'm not a kid. My experiences defines me.
[Awaxx] -2024/10/17-