UniversalScript

From Virtual World Web Wiki
Jump to: navigation, search

Event Types

OnStart

Triggered when the script starts up.

OnLeftClick

Triggered when a participant left clicks on a renderable with a collider and Clickable enabled.

Properties

Event_ClickTarget (Target): The target to monitor for mouse clicks.

OnLeftClick

Triggered when a participant right clicks on a DOM node with a collider and Clickable enabled.

Properties

Event_ClickTarget (Target): The target to monitor for mouse clicks.

OnVolumeEnter

Triggered when a participant enters a DOMVolume node.

Properties: Event_TargetVolume (Target): The target volume to monitor for participant entries.

OnVolumeLeave

Triggered when a participant leaves a DOMVolume node.

Properties

Event_TargetVolume (Target): The target volume to monitor for participant exits.

OnInstanceEnter

Triggered when a participant enters the scene.

OnInstanceLeave (NOT IMPLEMENTED)

Triggered when a participant leaves the scene.

OnInterval

Triggered after some time has past, based on the minimum and maximum interval properties. Will repeat if the repeat property is set.

Properties

Event_MinimumInterval (Single): The minimum number of millseconds that must pass before the trigger is fired.

Event_MaximumInterval (Single): The maximum number of millseconds that must pass before the trigger is fired.

Event_RepeatInterval (Boolean): Should the event be triggered repeatedly?