License from €75 Log in
DE EN FR ES IT CZ

Displayed Text tag for current object?

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 8 years ago
    Hey,

    I'm currently setting up comment sets for my main character and I'd like him to reference the object the action is running on. So instead of always saying "I can't open that" it would be nicer to have him to say "I can't open a door/box/bed/whathaveyou". 

    I've tried obvious things like <o> and <object> to no avail and couldn't find anything regarding this in the wiki or forum. Is there any way to achieve this?

    Thanks!
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 8 years ago
    There are no built in tokens for that. What you could do is create a value, & store the current object/saved object inside of the string section of the value. On mouse over (or on click) what you would do is create an execute a script action part & then add something like this to it...

    Values["example"].String = game.CurrentObject:getName()

    Now inside of the display text you can reference the string part of the value...

    I can't open the <vs=example>.

    replace "example" with the actual name of the value you have created - also take into account that names are case sensitive.
  4. · 8 years ago
    Thanks, that works.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?