Author Topic: need some help with critter.PlaySound()  (Read 2362 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.
How did I end in delivery with that kind of log about me... my god... I no sure it were a good idea to read my log... ~suicide -2022/05/18-