Beta
Beta
Beta
The label to display for the dropdown.
The selectable items for the dropdown.
Optional
dropdownOptions: ModalFormDataDropdownOptionsThe optional additional values for the dropdown creation.
Beta
Forces a form to show even if the player has another form or menu open. If the player has another form or menu open then it will wait until they close it.
The player to show the form to
Optional
timeout: numberThe number of ticks before the function will give up and return the failed response, it defaults to 9999
The response of the form
Beta
Player to show this dialog to.
Creates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
This function can't be called in read-only mode.
Beta
The label to display for the slider.
The minimum selectable possible value.
The maximum selectable possible value.
Optional
sliderOptions: ModalFormDataSliderOptionsThe optional additional values for the slider creation.
Beta
The label to display for the textfield.
The place holder text to display.
Optional
textFieldOptions: ModalFormDataTextFieldOptionsThe optional additional values for the textfield creation.
Beta
The label to display for the toggle.
Optional
toggleOptions: ModalFormDataToggleOptionsThe optional additional values for the toggle creation.
Used to create a fully customizable pop-up form for a player.
Example: showBasicModalForm.ts