void SetOverrideVoice (bool enabled)
Set voice to override the original voice.
void ClearOverrideVoice ()
Clear the overriding voice.
void SetOverrideVideo (bool enabled)
Function Description
void ClearOverrideVideo ()
Function Description
void AddAuthVoiceUser (uint userID)
Add a user to AuthVoiceUser by his ID.
void RemoveAuthVoiceUser (uint userID)
Remove a user from AuthVoiceUser by his ID.
void AddAuthVideoUser (uint userID)
Function Description
void RemoveAuthVideoUser (uint userID)
Remove a user from AuthVoiceUser by his ID.
bool Enabled get set
Whether the Voice Zone component is Enabled
bool AllowVoice get set
Whether allows voice.
bool AllowVideo get set
Whether allows video.
bool ConnectVoiceService get set
Property Description
bool ConnectVideoService get set
Property Description
int Priority get
The priority of the voice zone
string AreaName get
The name of area.
bool Spatialized get
Whether the voice zone is spatialized.
bool SpatialDropoff get
Whether the voice zone is spatialized drop off.
bool SpatialStereo get
Whether the voice zone is spatial stereo.
float SpatialDistance get
The spatial distance of the voice zone.
bool Global get
Whether the voice zone is global.
uint[] AuthVideoUsers get
Return an array of auth video user.
uint[] AuthVoiceUsers get
Property Description
GameObject get
Property Description
float get
bool get
uint[] get
uint[] get
SGameObject get
void SetOverrideVoice (bool enabled)
void ClearOverrideVoice ()
void SetOverrideVideo (bool enabled)
void ClearOverrideVideo ()
void AddAuthVoiceUser (uint userID)
void RemoveAuthVoiceUser (uint userID)
void AddAuthVideoUser (uint userID)
void RemoveAuthVideoUser (uint userID)
bool Enabled get set
bool AllowVoice get set
bool AllowVideo get set
bool ConnectVoiceService get set
bool ConnectVideoService get set
int Priority get
string AreaName get
bool Spatialized get
bool SpatialDropoff get
bool get
Space.Host.ExecutingObject.VoiceZone.SetOverrideVoice(true)Space.Host.ExecutingObject.VoiceZone.ClearOverrideVoice()Space.Host.ExecutingObject.VoiceZone.SetOverrideVideo(true)Space.Host.ExecutingObject.VoiceZone.SetOverrideVideo(true)Space.Host.ExecutingObject.VoiceZone.AddAuthVoiceUser(000000000)lSpace.Host.ExecutingObject.VoiceZone.RemoveAuthVoiceUser(000000000)Space.Host.ExecutingObject.VoiceZone.AddAuthVideoUser(000000000)Space.Host.ExecutingObject.VoiceZone.RemoveAuthVideoUser(000000000)Space.Host.ExecutingObject.VoiceZone.Enabled = true--clicking this object will Enable/Disable it's Voice Zone component
thisGameObject = Space.Host.ExecutingObject
component = thisGameObject.VoiceZone
OnClick = function()
component.Enabled = not component.Enabled
end
thisGameObject.AddClickable()
thisGameObject.Clickable.OnClick(OnClick)Space.Host.ExecutingObject.VoiceZone.AllowVoice = trueSpace.Host.ExecutingObject.VoiceZone.AllowVideo = trueSpace.Host.ExecutingObject.VoiceZone.ConnectVoiceService = trueSpace.Host.ExecutingObject.VoiceZone.ConnectVideoService = truepriority = Space.Host.ExecutingObject.VoiceZone.Prioritypriority = Space.Host.ExecutingObject.VoiceZone.AreaNameisSpatialized = Space.Host.ExecutingObject.VoiceZone.SpatializedspatialDropoff = Space.Host.ExecutingObject.VoiceZone.SpatialDropoffspatialStereo = Space.Host.ExecutingObject.VoiceZone.SpatialStereofloatDistance = Space.Host.ExecutingObject.VoiceZone.SpatialDistanceisGlobal = Space.Host.ExecutingObject.VoiceZone.GlobaltableAuthVideoUsers = Space.Host.ExecutingObject.VoiceZone.AuthVideoUserstableAuthVideoUsers = Space.Host.ExecutingObject.VoiceZone.AuthVoiceUserstheGameObject = Space.Host.ExecutingObject.VoiceZone.GameObject