Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MichaelPatriot21 on January 19, 2019, 09:39:22 PM

Title: Add a random int instead of setting it.[SOLVED]
Post by: MichaelPatriot21 on January 19, 2019, 09:39:22 PM
I want an action like math> random int, except I want to add to an int not replace it. What I want is for everytime the player hits recruit he recruits a random number of archers, footmen, etc.
Title: Re: Add a random int instead of setting it.
Post by: MichaelPatriot21 on January 19, 2019, 10:46:03 PM
I figured it out. I set another int variable, randomnized that variable, then added them together.