Prototype/FlyingText: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on Prototype/Entity. == Pro...")
 
(0.16)
Line 5: Line 5:


=== speed ===
=== speed ===
'''Type''': [[Types/double]]
'''Type''': [[Types/float]]


How fast the text flies up. Seems to be tiles/tick.
How fast the text flies up. Seems to be tiles/tick.
Line 13: Line 13:


Time in ticks this flying-text lasts.
Time in ticks this flying-text lasts.
=== text_alignment ===
'''Type''': [[Types/string]]
'''Default''': "left"
Options: "left", "center", "right"

Revision as of 19:48, 17 January 2018

Basics

An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on Prototype/Entity.

Properties

speed

Type: Types/float

How fast the text flies up. Seems to be tiles/tick.

time_to_live

Type: Types/uint

Time in ticks this flying-text lasts.

text_alignment

Type: Types/string

Default: "left"

Options: "left", "center", "right"