Prototype/FlyingText: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
BilkaBot (talk | contribs)
Changed links going to the redirect Types/uint to go to Types/uint32.
BilkaBot (talk | contribs)
Added prototype type to page
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''flying-text'''
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on [[Prototype/Entity]].
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) Based on [[Prototype/Entity]].



Revision as of 16:28, 21 January 2019

Basics

Prototype type: flying-text

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"