This wiki is out of date, use the continuation of this wiki instead

TextID

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:49, 7 August 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (23:47, 27 July 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(One intermediate revision not shown.)
Line 1: Line 1:
 +[[category:general]]
 +[[category:texts]]
 +
== Definition == == Definition ==
'''TextID''' '''TextID'''
-TextID is an identifier associated with a certain [[text]]. It is returned by various texts functions, like [[write]](), [[write_int]](), [[write_string]](), [[write_float]]() and [[move_text]]().+TextID is an identifier associated with a certain [[text]]. It is returned by various [[Functioncategory:Texts|text functions]], like [[write]](), [[write_int]](), [[write_string]](), [[write_float]]() and [[move_text]]().
When a dynamic text is created, it has the color last set by [[set_text_color]](). By default this is white ([[rgb]](255,255,255)). Its Z value is equal to [[text_z]] at the moment of creation, which is -256 by default. When a dynamic text is created, it has the color last set by [[set_text_color]](). By default this is white ([[rgb]](255,255,255)). Its Z value is equal to [[text_z]] at the moment of creation, which is -256 by default.
-To move the dynamic text associated with a TextID, use [[move_text]]. To delete the text, use [[delete_text]](). There can be a total of 512 dynamic texts on screen simultaneously.+To move the dynamic text associated with a TextID, use [[move_text]](). To delete the text, use [[delete_text]](). There can be a total of 512 dynamic texts on screen simultaneously.
 + 
 +== See also ==
 +* [[Text]]
 +* [[Functioncategory:Texts|Text functions]]

Current revision


[edit] Definition

TextID

TextID is an identifier associated with a certain text. It is returned by various text functions, like write(), write_int(), write_string(), write_float() and move_text().

When a dynamic text is created, it has the color last set by set_text_color(). By default this is white (rgb(255,255,255)). Its Z value is equal to text_z at the moment of creation, which is -256 by default.

To move the dynamic text associated with a TextID, use move_text(). To delete the text, use delete_text(). There can be a total of 512 dynamic texts on screen simultaneously.

[edit] See also

Personal tools