input or label box?

  • #1, by vanoakWednesday, 15. November 2017, 02:55 2 years ago
    Hi,

    Does Visionaire has something equivalent to a label box or input box? The idea is to keep a score (how many cards were found from a total of x), but from what i understand the only way to work with text are character speech and narrator speech.

    Am I missing something or it only can be done in Lua?

    Thanks.

    Newbie

    26 Posts


  • #2, by afrlmeWednesday, 15. November 2017, 03:02 2 years ago
    You can use a value which you can add or subtract from. It's possible to display the value inside of a display text, narration text, object text or with Lua script.

    https://wiki.visionaire-tracker.net/wiki/Displayed_Text

    Imperator

    6770 Posts

  • #3, by vanoakWednesday, 15. November 2017, 10:20 2 years ago
    Hi,

    @AFRLme I read the page you are refering to and that added to the confusion. 

    So the problem was that I was using the "display text" action part, which forces you to use a Character when I should be using the "display text object" which does not.

    thanks.

    Newbie

    26 Posts

  • #4, by vanoakWednesday, 15. November 2017, 10:47 2 years ago
    Another question: you are limited in the values that you can use with this action part. If I want to display a Character value there is no straightforward way to do it, is it correct?

    Newbie

    26 Posts

  • #5, by afrlmeWednesday, 15. November 2017, 12:00 2 years ago
    I don't understand what you mean/want. Can you explain with a wee bit more detail please?

    Imperator

    6770 Posts

  • #6, by sebastianWednesday, 15. November 2017, 12:04 2 years ago
    yes the value you enter in the display text field has to be uniquely named because there is no way to define it more precisely.
    You could display an object text for an interface button to make it always visible when opening that interface. Needs also be updated if the value gets updated. 

    Thread Captain

    2331 Posts

  • #7, by afrlmeWednesday, 15. November 2017, 12:08 2 years ago
    yes the value you enter in the display text field has to be uniquely named because there is no way to define it more precisely.
    You could display an object text for an interface button to make it always visible when opening that interface. Needs also be updated if the value gets updated. 
    Ah you understood what they meant? I was wondering if they were referring to being limited to only displaying values & conditions inside of a text, but the truth is that you could technically convert any data structure field value into a string/number & add the result to a value which you can then display with one of the text action parts or Lua script.

    Imperator

    6770 Posts

  • #8, by vanoakWednesday, 15. November 2017, 20:45 2 years ago
    Actually no.

    I was hoping  to use a "display text object" to output a Character Value, but that is not possible  because Characters are not available to choose from.

    Newbie

    26 Posts

  • #9, by afrlmeWednesday, 15. November 2017, 21:01 2 years ago
    Display Object Text just displays a text linked to a scene object or an interface. Interface is best as the text will be fixed in place whereas if it's linked to a scene object then it will move if the scene is scrollable.

    The object you link to has nothing to do with values or conditions, if you want a text to display a value or condition, then you need to link the value or condition inside of bit where you input the text as shown on the wiki page I already linked.

    Imperator

    6770 Posts

  • #10, by vanoakThursday, 16. November 2017, 01:22 2 years ago
    Yes, the first paragraph of your post.

    I don't understand the second paragraph but I think you are refering to the <v=something> notation that should be used when using the contents of a value in the body text which is documented in the wiki page you linked.

    Thanks again.

    Newbie

    26 Posts

  • #11, by afrlmeThursday, 16. November 2017, 01:37 2 years ago
    Yes I'm referring to the <v=something> bit of the page in the wiki that I linked.

    Imperator

    6770 Posts

Write post