getHalo: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getHalo== Gets the value of the specified Token:halo for the Token:token. The value returned is a string that represents the hexadecimal value of the color of the halo...)
 
No edit summary
Line 1: Line 1:
==Function getHalo==
==Function getHalo==
Gets the value of the specified [[Token:halo|halo]] for the [[Token:token|token]]. The value returned is a string that represents the hexadecimal value of the color of the halo in the format #''RRGGBB'' or "None" if there is no [[Token:halo|].
Gets the value of the specified [[Token:halo|halo]] for the [[Token:Current Token|Current Token]]. The value returned is a string that represents the hexadecimal value of the color of the halo in the format #''RRGGBB'' or "None" if there is no [[Token:halo|].
===Usage===
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>

Revision as of 12:55, 13 December 2008

Function getHalo

Gets the value of the specified halo for the Current Token. The value returned is a string that represents the hexadecimal value of the color of the halo in the format #RRGGBB or "None" if there is no [[Token:halo|].

Usage

[h: color = getHalo()]

Examples

The following example will display the text "Halo Color Text" in the color of the token's halo.

<span style="color:[r: getHalo()]">Halo Color Text</span>