Hi there
I have had a level created for me, and it is a village level, and i have got a lake in there. I have used the findchild to get the lake name and make it an entity. I wanted to use the load3dsound sound command, so when the camera is near it, you can hear the water.
I thought about doing the following
This is in the beginning of the program, and in the while loop, i haven't added anything in there. Can you use a load3dsound with a findchild entity?
Kind Regards
I have had a level created for me, and it is a village level, and i have got a lake in there. I have used the findchild to get the lake name and make it an entity. I wanted to use the load3dsound sound command, so when the camera is near it, you can hear the water.
I thought about doing the following
water=FindChild (part1, "water" ) EntityAlpha water,.7 CreateListener(camera) sound=Load3DSound("lake.ogg") : If Not sound Then RuntimeError "Alert" LoopSound sound ch_sound=EmitSound(sound,water)
This is in the beginning of the program, and in the while loop, i haven't added anything in there. Can you use a load3dsound with a findchild entity?
Kind Regards