Tablet

Available in: Interface Scripts Client Entity Scripts

Methods

Signals

Type Definitions

Methods

getTablet(name) → {TabletProxy}
Creates or returns a new TabletProxy and returns it.
Parameters:
Name Type Description
name string Tablet name.
Returns:
Tablet instance.
Type: TabletProxy
playSound(sound)
Parameters:
Name Type Description
sound Tablet.AudioEvents

Signals

tabletNotification() → {Signal}
Triggered when a tablet message or dialog is created.
Returns:
Type: Signal

Type Definitions

AudioEvents
Value Description
0 Button click.
1 Button hover.
2 Tablet open.
3 Tablet hands in.
4 Tablet hands out.
5 Last.
Type: number