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

basic scripting

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 am trying to understand the LUA scripting. I only have little experience with JS and some basic stuff. I am trying to debug some script and wonder how can I easily show a text on screen (or make the main character say something) with the script. I have tried to read the documentation, but some of the pages say "There is currently no text in this page.".

    How would I write. "MainCharacter.Say("testing a variable", Q), for example?
    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
    Sorry, but there are currently no built in functions available to make a character say something.

    The only methods currently would be to use a value to store a string, then start a called by other action which contains a display text that is linked to the value. The other would be to use the Lua draw functions to draw the text & startAnimation function to start the talk animation of the relevant character, but to be honest neither methods are particularly practical.

    Here's your first lesson in Lua, it's Lua, not LUA. wink
    Lua is a noun, it's the Portuguese word for Moon.

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?