SVoiceZone

Index

Functions Index

Function Name

Properties Index

Property Name

Functions

SetOverrideVoice

void SetOverrideVoice (bool enabled)

Set voice to override the original voice.

Parameter
Type
Description

Space.Host.ExecutingObject.VoiceZone.SetOverrideVoice(true)

ClearOverrideVoice

void ClearOverrideVoice ()

Clear the overriding voice.

Space.Host.ExecutingObject.VoiceZone.ClearOverrideVoice()

SetOverrideVideo

void SetOverrideVideo (bool enabled)

Function Description

Parameter
Type
Description

Space.Host.ExecutingObject.VoiceZone.SetOverrideVideo(true)

ClearOverrideVideo

void ClearOverrideVideo ()

Function Description

Space.Host.ExecutingObject.VoiceZone.SetOverrideVideo(true)

AddAuthVoiceUser

void AddAuthVoiceUser (uint userID)

Add a user to AuthVoiceUser by his ID.

Parameter
Type
Description

Space.Host.ExecutingObject.VoiceZone.AddAuthVoiceUser(000000000)

RemoveAuthVoiceUser

void RemoveAuthVoiceUser (uint userID)

Remove a user from AuthVoiceUser by his ID.

Parameter
Type
Description

lSpace.Host.ExecutingObject.VoiceZone.RemoveAuthVoiceUser(000000000)

AddAuthVideoUser

void AddAuthVideoUser (uint userID)

Function Description

Parameter
Type
Description

Space.Host.ExecutingObject.VoiceZone.AddAuthVideoUser(000000000)

RemoveAuthVideoUser

void RemoveAuthVideoUser (uint userID)

Remove a user from AuthVoiceUser by his ID.

Parameter
Type
Description

Space.Host.ExecutingObject.VoiceZone.RemoveAuthVideoUser(000000000)

Properties

Enabled

bool Enabled get set

Whether the Voice Zone component is Enabled

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)

AllowVoice

bool AllowVoice get set

Whether allows voice.

Space.Host.ExecutingObject.VoiceZone.AllowVoice = true

AllowVideo

bool AllowVideo get set

Whether allows video.

Space.Host.ExecutingObject.VoiceZone.AllowVideo = true

ConnectVoiceService

bool ConnectVoiceService get set

Property Description

Space.Host.ExecutingObject.VoiceZone.ConnectVoiceService = true

ConnectVideoService

bool ConnectVideoService get set

Property Description

Space.Host.ExecutingObject.VoiceZone.ConnectVideoService = true

Priority

int Priority get

The priority of the voice zone

priority = Space.Host.ExecutingObject.VoiceZone.Priority

AreaName

string AreaName get

The name of area.

priority = Space.Host.ExecutingObject.VoiceZone.AreaName

Spatialized

bool Spatialized get

Whether the voice zone is spatialized.

isSpatialized = Space.Host.ExecutingObject.VoiceZone.Spatialized

SpatialDropoff

bool SpatialDropoff get

Whether the voice zone is spatialized drop off.

spatialDropoff = Space.Host.ExecutingObject.VoiceZone.SpatialDropoff

SpatialStereo

bool SpatialStereo get

Whether the voice zone is spatial stereo.

spatialStereo = Space.Host.ExecutingObject.VoiceZone.SpatialStereo

SpatialDistance

float SpatialDistance get

The spatial distance of the voice zone.

floatDistance = Space.Host.ExecutingObject.VoiceZone.SpatialDistance

Global

bool Global get

Whether the voice zone is global.

isGlobal = Space.Host.ExecutingObject.VoiceZone.Global

AuthVideoUsers

uint[] AuthVideoUsers get

Return an array of auth video user.

tableAuthVideoUsers = Space.Host.ExecutingObject.VoiceZone.AuthVideoUsers

AuthVoiceUsers

uint[] AuthVoiceUsers get

Property Description

tableAuthVideoUsers = Space.Host.ExecutingObject.VoiceZone.AuthVoiceUsers

GameObject

SGameObject GameObject get

Property Description

theGameObject = Space.Host.ExecutingObject.VoiceZone.GameObject

Last updated

Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.