Description
Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts
ThetabletInterface
API provides the facilities to work with the system or other tablet.Deprecated: This API is deprecated and will be removed. Use Tablet instead.
Methods
Name | Return Value | Summary |
---|---|---|
getTablet
|
TabletProxy |
Gets an instance of a tablet. A new tablet is created if one with the specified name doesn't already exist. |
playSound
|
None |
Plays a standard tablet sound. The sound is played locally (only the user running the script hears it) without a position. |
Signals
Name | Summary |
---|---|
tabletNotification
|
Triggered when a tablet message or dialog is displayed on the tablet that needs the user's attention. Note: Only triggered if the script is running in the same script engine as the script that created the tablet. By default, this means in scripts included as part of the default scripts. |
Method Details
(static) getTablet( name ) → {TabletProxy}
Returns: The tablet instance. |
||||||
---|---|---|---|---|---|---|
Gets an instance of a tablet. A new tablet is created if one with the specified name doesn't already exist. Parameters
Example
|
(static) playSound( sound ) | ||||||
---|---|---|---|---|---|---|
Plays a standard tablet sound. The sound is played locally (only the user running the script hears it) without a position. Parameters
Example
|
Signal Details
tabletNotification(
)
Returns: Signal |
---|
Triggered when a tablet message or dialog is displayed on the tablet that needs the user's attention. Note: Only triggered if the script is running in the same script engine as the script that created the tablet. By default, this means in scripts included as part of the default scripts. |