SC2Mapster.com Wiki

Introduction

Text (actor)

Description

Is an actor that produces text that can be read on the screen at the position it is created

Hint

Usually combined with a mover and made to fade slowly using the Set Opacity actor event

Example Usage

Automated Refinery

Created when the AutoHarvestVespene (Unnamed) effect starts saying

<s val="Kicker_Refinery">+4 </s><IMG path="Assets\Textures\icon-gas-terran.dds" height="28" width="28"/>

which basicly shows a coloured +4 and the picture of the vespene gas symbol.

After a timer expires creates the AutomatedRefineryTextMover (Unnamed) to move the text to a higher elevation before a second timer destroys it whilst using the Set Opacity to make the text vanish.

See Automated Refinery from Liberty (Campaign) dependency

Fields Description

Event+

  • Have your Creation and Die timers
  • On creation initiate your Set Opacity with a reasonable blend in duration
  • On timer expire create any movers and the destruction of the actor

Hosting - Host - Subject

  • Do not have conclusive evidence but _Unit and _FloatingText are most common aliases used
  • Probably refers to creating unit

UI - Alignment

  • Dictates the starting position of the text relative to the unit

UI - Fixed Font Size

  • Determines the size of the text

UI - Height Offset

  • Determines how high from the alignment the text appears
  • Useful for stationary text

UI - Text

  • What the message is and any style, colour and images (known to not all work)
  • Seems to use the same commands as the Map Loading Screen editor

You must login to post a comment. Don't have an account? Register to get one!