DudeAwesome Posted March 5, 2014 Share Posted March 5, 2014 I created a listener but it give me a strange error msg when I try to set the Range. It works just with Listener:Create (maybe there is a default range in the constructor) but the split between left and right soundchannel is really bad. http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/listener/listenersetrange-r484 I also cant use the getter function error msg https://www.dropbox.com/s/z8fqlhhflcgborw/Screenshot%202014-03-05%2001.38.48.png the message is a bit strange because the parameter should be a float. (I use betabranch) Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 5, 2014 Share Posted March 5, 2014 I was under the impression that listeners didn't have a range. Maybe the reason that Listeners are not listed in the command reference is because its support is not officially there yet. Quote Link to comment Share on other sites More sharing options...
Rick Posted March 5, 2014 Share Posted March 5, 2014 @OP Anytime you see an error that says that (replace that function name with whatever function you are trying to call) it means the function doesn't exist in Lua, meaning it's not exposed to Lua. That's either an error on Josh's part for not exposing it, or the documentation error for saying the function exists. Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted March 5, 2014 Author Share Posted March 5, 2014 mhmm ok I just thought the function exists because its highlighted and it seems serious. I think the range setters/getters are not that important but there could be some more functions for listeners and please UPDATE THAT DOCUMENTATION Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
tjheldna Posted March 5, 2014 Share Posted March 5, 2014 I asked the same question a while ago also and thought it was a bug. Listeners don't have range. http://www.leadwerks.com/werkspace/topic/7981-listener/ Hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.