Defining the channel for EmitSound?

Blitz3D Forums/Blitz3D Programming/Defining the channel for EmitSound?

Is there any way of specifing the channel that EmitSound uses. I have the problem where i need the sound of a waterfall repeating in 3D space. I am using TerraEd which complicates things a little and means that i am having to write functions in the include file to handle it.

The example explained in the help doesnt realy help me because i cant find any way of passing back data from an included project to the original.

If anyone could help that would be great.

Ive never used Terra Ed - so I dunno really the issues your facing with this include file and stuff, but just as a suggestion...

couldn't you create a pivot, position the pivot in the right place and let that be the sound emitter?

All variables in an include file are global to the main program.
You don't need to pass the data back, you can access the data from your program.