Prototype/FlyingText: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(Changed links going to the redirect Types/uint to go to Types/uint32.)
Line 10: Line 10:


=== time_to_live ===
=== time_to_live ===
'''Type''': [[Types/uint]]
'''Type''': [[Types/uint32]]


Time in ticks this flying-text lasts.
Time in ticks this flying-text lasts.

Revision as of 10:42, 25 June 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/uint32

Time in ticks this flying-text lasts.

text_alignment

Type: Types/string

Default: "left"

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