Clearing Text?

BenSawyerBenSawyer Member, PRO Posts: 37
I have a simple actor that I use to display some stats. I want to be able to clear this actor of previous text and display new text from another variable depending on the game's state. For some reason when I do this now all I get when invoking a new display text call is the new text overlayed on top of the previous text drawn. How do I have an actor actually clear any text it's displaying BEFORE drawing out new text. I tried display text = "" before using display text = TEXTtoDisplay but it doesn't work.

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    You could have your display text actor display the value of a Text Attribute and change this Text Attribute to " " between uses. That way it should start at nothing.

    Each time you want the actor to display new or different text, just change the value of the Text Attribute.
Sign In or Register to comment.