Jump to content
Sign in to follow this  
Captinlarry

Calling an OOG for players near an Object

Recommended Posts

Trying to call a sound file for players near an Object named Clone1 

Clone1 say3D ["Incoming", 50, 1, false, 0];
 

from say3D [sound, maxDistance, pitch, isSpeech, offset] is the syntax used but I still cannot seem to get it to work. I know the pathing to the sound works because I can hear it with a simple trigger command.

Share this post


Link to post
Share on other sites

I'm picking up corrupted characters in the code you pasted. Not sure if they are being generated when I copy, or if they are indeed in your pasted code.

YXg6Mwb.png

 

If you have code that should work, but isn't, it's easy to check for this issue. Copy your code, paste it into a code block here on the forums, delete the red dots, then recopy your clean code. Alternately, you can just type it out fresh.

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×