King's Quest Score system

  • #1, by fabian-schurgersTuesday, 26. October, 09:16 A month ago
    Hi there,

    I'm trying to make a score system for my game, like in the old King's Quest games.

    I'm using the 'Display object text' to show the score on screen, and I was wondering if there's a text code to display a value?

    Or do I need to do it with Lua scripting? I found this in the Visionaire Wiki:

    -- let's say I have an integer value called "money" which contains the initial value of 100...
    I currently have $. -- would display "I currently have $100."

    Could this be used to display a score on screen?

    Thanks!

    Forum Fan

    104 Posts


  • #2, by esmeraldaTuesday, 26. October, 09:36 A month ago
    Yes, sure. Do like described in the wiki.

    <v=value_name>  will display the integer of the value
    <vs=value_name> the string of the value


    Great Poster

    439 Posts

  • #3, by fabian-schurgersTuesday, 26. October, 11:06 A month ago
    Yes, sure. Do like described in the wiki.

    <v=value_name>  will display the integer of the value</v=value_name></div>
    <vs=value_name> the string of the value</vs=value_name></div>



    Great! Thanks for the help!

Forum Fan

104 Posts

Write post