Difference between revisions of "DisplayFloatyMessage"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(link to FLOATY*)
(looks okay, removing tag)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=DisplayFloatyMessage
 
|name=DisplayFloatyMessage

Revision as of 00:01, 3 March 2010

Displays a floating message over a creature

void DisplayFloatyMessage(
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.