Prototype/FlyingText: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
{{Prototype parent|Prototype/Entity}}
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.)


== Basics ==
{{Prototype TOC|flying-text}}
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 ==
== Mandatory properties ==


=== speed ===
{{Prototype property|speed|[[Types/float|float]]}}
'''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.


=== time_to_live ===
{{Prototype property|time_to_live|[[Types/uint32|uint32]]}}
'''Type''': [[Types/uint32]]
 
Time in ticks this flying-text lasts.
Time in ticks this flying-text lasts.


== Optional properties ==
== Optional properties ==


=== text_alignment ===
{{Prototype property|text_alignment|[[Types/string|string]]|"left"|optional=true}}
'''Type''': [[Types/string]]
 
'''Default''': "left"
 
Options: "left", "center", "right"
Options: "left", "center", "right"

Revision as of 21:09, 5 August 2019

Template:Prototype parent An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.)

Template:Prototype TOC

Mandatory properties

Template:Prototype property How fast the text flies up. Seems to be tiles/tick.

Template:Prototype property Time in ticks this flying-text lasts.

Optional properties

Template:Prototype property Options: "left", "center", "right"