Show Number Text

Signature

showNumberText(characterAddress, number, type)

Description

Shows a number as text on a character.

Arguments

Character Address

The battle unit work address of a character.

Number

The number that will be shown as text.

Type

Controls the text's color and if amount is not 0, it also highlights a part of the battle UI for a small duration.

Type
Description

0

Show red text and highlight nothing.

1

Show red text and highlight gambit icon, hp value, and mist bars.

2

Show green text and highlight hp value.

3

Show green text and highlight mp value.

Notes

The text will only be shown if the character is within 24 meters of the player party leader.

If the character is a foe, but not an ally (e.g. Rabanastre Watch), a red text will be colored blue instead.

Only up to 5 texts can be shown on a character at a time. If the limit is exceeded, the new text replaces the oldest one based on the order they were shown. Their placement also slightly differs based on their order (mid -> top right -> bottom left -> top left -> bottom right).

Last updated