UOSayColor
Sends a speech message from the character to the game world with a specified color.
Text — the message text to say.
Color — UO hue value for the text color.
The character must be in the game world. If not, a debug message is logged and the call is ignored.
Does nothing if the character is not connected.
Отправляет речевое сообщение от персонажа в игровой мир с указанным цветом.
Text — текст сообщения.
Color — значение UO hue для цвета текста.
Персонаж должен находиться в игровом мире. Если нет — логируется отладочное сообщение и вызов игнорируется.
Не выполняет действий, если персонаж не подключён.
procedure UOSayColor(Text: String; Color: Word);
def UOSayColor(Text: str, Color: int) -> None: ...
begin
UOSayColor('Warning: danger ahead!', $0021); // red-ish
UOSayColor('All clear', $0040); // green-ish
end.
UOSayColor('Warning: danger ahead!', 0x0021)
UOSayColor('All clear', 0x0040)