playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Add a random int instead of setting it.[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Add a random int instead of setting it.[SOLVED] (Read 879 times)
MichaelPatriot21
Playmaker Newbie
Posts: 23
Add a random int instead of setting it.[SOLVED]
«
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.
«
Last Edit: January 21, 2019, 04:42:06 AM by jeanfabre
»
Logged
MichaelPatriot21
Playmaker Newbie
Posts: 23
Re: Add a random int instead of setting it.
«
Reply #1 on:
January 19, 2019, 10:46:03 PM »
I figured it out. I set another int variable, randomnized that variable, then added them together.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Add a random int instead of setting it.[SOLVED]