I know why it didn't work.


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Balrog_Butcher on November 22, 1998 at 20:33:01:

In Reply to: Re: Fog cog edited. Isn't working. posted by fourwood on November 22, 1998 at 20:06:49:

The reason is because of the PlaySoundThing function; you didn't use it right. MinDistance is the minimum distance from the object you can hear the sound. MaxDistance is the farthest from the object you can hear the sound. You do this:

PlaySoundThing(sound,ghost,volume,dist,dist,0x1);

You make both MinDistance and MaxDistance dist, and that's the problem. Do this:

PlaySoundThing(sound,ghost,volume,0,dist,0x80);

0x80 is the flag for the sound to follow the ghost. Even if the ghost isn't moving, it's still good to use that flag.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]