|
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
|
08-04-2007 05:38
I've looked through the release notes with the new client, and the scripting html guide that came with it, and I suspect the answer is 'no' or 'not yet'... but here's my question:
Is there a new constant that I can use with llGetParcelFlags to determine if voice is available?
Thanks!
Edited to add: I should have thought of this sooner but I made a quick script to use the llGetParcelFlags and then I just compared the integer result with voice on and off, and it does return a difference. I can't find a constant for it but the voice flag is 0x20000000 or decmal 536870912. It gives that same result whether your setting is 'estate spacialized channel' or 'private spacialized channel'. Still looking for an official constant but in the meantime I can work with this.
-Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
|
|
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
|
08-04-2007 09:14
Just another follow-up... the llGetParcelFlags will return a positive for 'voice enabled' at the parcel level, even if the estate itself is flagged as no-voice.
Now I guess the next question is if llGetRegionFlags will return a value for voice or not.
-Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
08-04-2007 14:57
I've added it to the documentation. There isn't a named flag for it yet. Also there are several undocumented flags which I'll add too.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
|
08-04-2007 16:34
Thanks Strife!
I haven't found any way to query the voice availability on the region level, and I'm thinking now it might not be possible. At least, there's no difference in the integer returned by llGetRegionFlags whether the region is set for voice or not.
-Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
08-06-2007 11:07
From: Atashi Toshihiko Thanks Strife!
I haven't found any way to query the voice availability on the region level, and I'm thinking now it might not be possible. At least, there's no difference in the integer returned by llGetRegionFlags whether the region is set for voice or not.
-Atashi opps, forgot to do the table for llGetRegionFlags.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Atashi Toshihiko
Frequently Befuddled
Join date: 7 Dec 2006
Posts: 1,423
|
08-06-2007 13:19
Thanks for updating those tables Strife! I'm having problems though with the region level one. I read this comment on the wiki: From: someone REGION_FLAGS_* are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead. and I am wondering if that means that some of the values may not be implemented yet? Specifically, 'their values may be valid in the mask'. I've been experimenting with my estate's 'allow voice' function, and it really doesn't seem to change the region flags mask regardless of what I set the estate 'allow voice' setting to. However, the 'voice enabled' icon doesn't go away in the viewer regardless of what I do to the estate settings... so now I don't really know if it's the viewer that is presenting incorrect data, or if it is the estate settings that aren't changing, or the estate isn't updating on the server side. I am using the latest version of the viewer of course, but I don't have a mic and have no desire to use voice myself - I'm just trying to script something so I can figure out for sure if voice is working or not, on a given parcel in a given region. -Atashi
_____________________
Visit Atashi's Art and Oddities Store and the Waikiti Motor Works at beautiful Waikiti.
|