Client
Last updated
Last updated
Function to show HRLib's textUI
Parameters description
description
- the textUI content
Preview
Function to get the status of the textUI with option to get the latest description
Parameters description
returnLastDescription
- sets whether or not the last description should be returned
Return description
status
- contains the status of the textUI as boolean, for is it open or is it closed
textUIContent
- the last content of the textUI (only available when returnLastDescription is true)
Function to hide the textUI
Function to set the progress bar with multiple options and three variants of progressBar
Parameters description
type
- the progress bar type
options
- the progress bar options
await
- sets whether or not the code should wait the progressBar to finish
freezePlayer
- sets whether or not the player is freezed during the progress bar
animation
- sets whether or not the player should play an animation during the progress bar
(if nil it won't start any animation)
Preview
Function to create an alert dialogue
Parameters description
options
- the dialogue's options
Preview
Function to create input dialogue
Parameters description
options
- the dialogue's options
Return description
result
- contains the values from the inputed values
Preview
Function to send notification to a player with HRLib's notification system
Parameters description
description - the notification's content
type - the notification type (default is 'info')
duration - the notification duration (default is 2500, in msec)
pos - the notification position on the screen (default is found in HRLib's config)
sound - sets whether or not the notification sound should be played (default is true)
Preview
Fields:
duration
- the animation duration (in msec, if nil, it will be -1)
animName
- the animation name
animDict
- the animation dictionary
animFlag
- the animation flag, see for eScriptedAnimFlags (list of flags)