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

Is there a way I can allign the text to the center on multiple question choises?

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

  1. · 8 years ago
    Is there a way I can allign the text to the center on multiple question choises?
    I don't mean the textbox position, I mean the text allignment, I'd like it to the center instead of showing alligned to left
  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
    As far as i know this is not possible with the standard dialogue system.
    I cant find any setting for this. 

    If you really need this, i would recommend to send the feature request to one of the devs or post it here in the forum and hope they add that function in a future release. 

    Another solution right now would be to code your own dialogue system which may would require Lua. 
  4. · 8 years ago
    As far as i know this is not possible with the standard dialogue system.
    I cant find any setting for this. 

    If you really need this, i would recommend to send the feature request to one of the devs or post it here in the forum and hope they add that function in a future release. 

    Another solution right now would be to code your own dialogue system which may would require Lua. 
    I m not a programmer unfortunately, but I want to learn.
    Can you guys help me with the script? I used this script for char dialogues, it must not look something different from the script for dialogues:
    -- let's create the function which sets the position of displayed text
    
    function setTextPosHook(text)
    
     -- if text owner is a character then...
    
     if text:getLink(VTextOwner):getId().tableId == eCharacters then
    
      text:setValue(VTextPosition, {x=960, y=100})
    
      return true
    
     end
    
    end
    
    
  5. · 8 years ago
    That script will just force display texts (when a character speaks) into the specified position. The alignment you set for text alignment under the main game settings area of the editor will also play a part.

    This will not affect the dialog system at all.
  6. · 8 years ago
    That script will just force display texts (when a character speaks) into the specified position. The alignment you set for text alignment under the main game settings area of the editor will also play a part.

    This will not affect the dialog system at all.
    I know. Can you suggest me some script to allign to the center the multiple question dialogue? Pleeeeeaaaase

  7. · 8 years ago
    Beside repositioning the texts, you would also need to change the polygon for the clickable area, too. And there is currently no way to change it for the default dialogue system, as it has no possibilities to hook into or change the relevant information for the displayed texts. 

    Depending on how complex you want to have your dialogues itself, you may could build your own interface with centered object texts from scratch. But this will not work with the default system. 
  8. · 8 years ago
    Beside repositioning the texts, you would also need to change the polygon for the clickable area, too. And there is currently no way to change it for the default dialogue system, as it has no possibilities to hook into or change the relevant information for the displayed texts. 

    Depending on how complex you want to have your dialogues itself, you may could build your own interface with centered object texts from scratch. But this will not work with the default system. 
    Well since I understand nothin of scripting I cannot manage all this stuff. Anyway at least I've manage to copy/paste two codes that make it possibile to center dialoges and alternate text boxes based on who s speaking

  9. · 8 years ago
    Wouldn't be a bad idea to look into learning a bit of Lua script. It's one of the easier languages to learn. You only really need the basics, then you use the data structure & scripting pages on the wiki (link in menu above) or Simon's Lua docs page.

    This is a great place to start. It's a blog that covers the basics; written out in laymen terms.
  10. · 8 years ago
    Wouldn't be a bad idea to look into learning a bit of Lua script. It's one of the easier languages to learn. You only really need the basics, then you use the data structure & scripting pages on the wiki (link in menu above) or Simon's Lua docs page.

    This is a great place to start. It's a blog that covers the basics; written out in laymen terms.

    Ok, nice, thank you for the docs.

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?