Prototype/FlyingText: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(Converted to SMW format) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | |||
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.) | |||
{{Prototype TOC|flying-text}} | |||
== | == Mandatory properties == | ||
{{Prototype property|speed|[[Types/float|float]]}} | |||
How fast the text flies up. Seems to be tiles/tick. | How fast the text flies up. Seems to be tiles/tick. | ||
{{Prototype property|time_to_live|[[Types/uint32|uint32]]}} | |||
Time in ticks this flying-text lasts. | Time in ticks this flying-text lasts. | ||
=== | == Optional properties == | ||
{{Prototype property|text_alignment|[[Types/string|string]]|"left"|optional=true}} | |||
Options: "left", "center", "right" | Options: "left", "center", "right" |
Latest revision as of 21:09, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/FlyingText
An upwards flying text that disappears after a certain time (setting active = false stops the flying and the disappearing.)
Mandatory properties
speed
Type: float
How fast the text flies up. Seems to be tiles/tick.
time_to_live
Type: uint32
Time in ticks this flying-text lasts.
Optional properties
text_alignment
Type: string
Default: "left"
Options: "left", "center", "right"