Setting alpha to 0 on actor with text doesn't alpha the text

pixel_knightspixel_knights Member Posts: 50
edited November -1 in Tech Support
If I have an actor, and i've set it's alpha to 0 after setting the display text behaviour, the actor goes invisible but still leaves the text on the screen. If an actor is set to 0, then any text it displays should also be set to 0.

Comments

  • old_kipperold_kipper Member Posts: 1,420
    I am afraid the way it works is that the text is not effected by the actor's alpha. If you want it not to display the text all the time, use a rule to make the display of it conditional.

    hope that helps. kipper
  • pixel_knightspixel_knights Member Posts: 50
    Thanks Kipper,

    I can make the display conditional, but how do I stop the text appearing once it's been shown once?

    I have an actor

    actor 1
    ... if condtion = true
    ... display text "blah"
    ... if condition = false
    set actor alpha = 0

    however, the "blah" text is still displayed. I tried calling display text with "" but that literally shows the "" in there?
  • pixel_knightspixel_knights Member Posts: 50
    I got around it by just moving the actor off-screen instead of resetting alpha
  • Rob2Rob2 Member Posts: 2,402
    The text behaviour still needs a lot of work - alpha, color, size etc all need to be controllable at runtime.
Sign In or Register to comment.