Difference between revisions of "DisplayFloatyMessage"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
(link to FLOATY*)
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
|param3type=int
 
|param3type=int
 
|param3name=nStyle
 
|param3name=nStyle
|param3desc=The visual style of the floaty
+
|param3desc=The visual style of the floaty. See [[FLOATY*]].
 
|param3default=FLOATY_MESSAGE
 
|param3default=FLOATY_MESSAGE
 
|param4type=int
 
|param4type=int

Revision as of 00:55, 11 February 2010

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.

This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.

Please remove the {{Generated}} tag once the page has been confirmed or corrected.

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.