Game
Display floating notifications
en

Type

Game

Introduction

Create a floating notification for a designated player. By entering the player, the color, and the duration of the floating notification, you can create a HUD control that disappears automatically. The floating notification is a control that appears at a fixed place on the player's HUD and disappears after a while. Floating notifications are often used to send players a message. For instance, if a player equips a certain weapon, you can use a floating notification to tell the player which weapon has been equipped. You can also use floating notifications for error messages like you would with the print characters block. Both supports the display of a designated text during a logic check, but the former does not store any information at the control panel.

Note: The character limit of floating notifications is 16.

Input parameter

Input parameter Parameter type Description
Player Player Target player
Text String The content of the floating notification
Color Color The color of the floating notification
Duration Int The display duration of the floating notification, in milleseconds
Play sound effect
Value input