Combining the value to two variables

Discussion in 'RPG Maker VX Ace' started by Wizardcraft, May 3, 2016.

  1. Wizardcraft

    Wizardcraft Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    I've lurked for hours and couldn't find an answer to this one. I've been stomped for hours and maybe it's just because I'm tired, but I've never had to attempt this before.


    I need to be able to add together (or multiply) two variables that are defined by what the player does throughout the game.


    Example: variable1 = 2 red flower. variable2 = 3 yellow flowers


    I'd like variable3 to = 5 total flowers.


    How can I accomplish this without scripting? My goal is to display the number of flowers the player has in total through text. Can that be accomplished without making a new variable for 1&2?


    Let me use the same example above and ask about multiplying the variables. How could I make variable3 = 6, if I multiplied variables 1 and 2?


    Thank you for answering in advanced. This simple thing is breaking me lol
     
    #1
  2. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,536
    Likes Received:
    14,193
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    Here you go:


    [​IMG]


    [​IMG]
     
    Last edited by a moderator: May 3, 2016
    #2
  3. Wizardcraft

    Wizardcraft Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    How could I accomplish that without setting the variables?


    I think I answered my own question. I didn't know I needed a script. Thank you!
     
    #3

Share This Page