Skip to content

Choicewave

Enable a PromptAnim on the textholder that will highlight the text with a wave visual effect if it is hovered on during a prompt.

Syntax

(1)

|choicewave,optionindex|

(2)

|choicewave,optionindex,underline|

Parameters

optionindex: int

The index of the concerned prompt option. If the current prompt option is this value, the text will be rendered with the highlight effect enabled and disabled otherwise. This must corresponds to a valid int value or an exception will be thrown.

underline: var

Whether to render a red _ underneath the text once it is highlighted instead of highlighting the text in red. Any value is accepted here as the value itself does not matter, only its presence.

Remarks

This command allows a prompt, numberPrompt and letterPrompt to highlight the currently hovered choice by applying a PromptAnim which apply a wave effect and a red color to the text or the _ in syntax (2).