# Combining the value to two variables

#### Wizardcraft

##### Warper
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

#### Archeia

##### Level 99 Demi-fiend
Here you go:

Last edited by a moderator:

#### Wizardcraft

##### Warper
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!

### Latest Profile Posts

Are there any vocalists on RPG Maker Forums that would want to sing together in a group, duet or make a whole channel together?
Here it is in all its leggy glory! I apologize in advance.
Suggestion for the name for the new RM, RPG Maker Re-MV (Re-Mastered Version)
A guide on Furry Potatoes.