Prototype/FlyingText: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
== Basics ==
== Basics ==
Prototype type: '''flying-text'''
Prototype type: '''flying-text'''

Revision as of 15:19, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/FlyingText


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.

Mandatory 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.

Optional properties

text_alignment

Type: Types/string

Default: "left"

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