DisplayFloatyMessage
From Dragon Age Toolset Wiki
Displays a floating message over a creature
void DisplayFloatyMessage(
object oCreature,
string sMessage,
int nStyle = FLOATY_MESSAGE,
int nColour = 16777215,
float nDuration = 0.5
);
object oCreature,
string sMessage,
int nStyle = FLOATY_MESSAGE,
int nColour = 16777215,
float nDuration = 0.5
);
- Parameters:
- oCreature
- The creature to display the floaty over
- sMessage
- The text of the message
- nStyle
- The visual style of the floaty. See FLOATY_*.
- nColour
- The text colour, in hex (eg. 0xff0000 is red)
- nDuration
- If specified, the floaty will be displayed for the indicated seconds. Note: If the time is zero, the floaty message is still displayed momentarily, as there is a fade in and fade out animation. Also If the floaty message sports a style of "FLOATY_HIT" or "FLOATY_CRITICAL_HIT" the duration is completely ignored, this is controlled through ActionScript!
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Displays an animated message or number floating over a creature indicating damage taken, critical hits, etc.