Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Sounds in specific areas TGF


PATCHMAN

Recommended Posts

Im confused on how to get a sound to play at a specific time in the game.

example:

if sonic runs up next to a fan and without touching it, the fan sound starts. and when he walks away, the fan sound goes away.

i guess im asking, is there a x,y, position code i can use?

thanx again. you guys are helpig a lot!:squestion:

Link to comment
Share on other sites

if you're wanting it to fade out you're going to (somehow, I'm not a programmer) work out the distance between sonic and the fan and have it reduce the volume until it reaches 0, at which point you have it stop playing the fan sound.

you could also use the X coordinates to pan the fan sound effect left or right.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...