Subtract 70% from a variable!

mardin

"...pretty please?"
Veteran
Joined
Nov 8, 2015
Messages
252
Reaction score
125
First Language
German
Primarily Uses
Hey guys,

I want to subtract 70% percent of my money variable in the game. Something like [Moneyvariable] - 0,7x[Moneyvariable]. But it looks like I'm only able to sub a number or random or another variable. So how do I do this?

Thanks!
 

mardin

"...pretty please?"
Veteran
Joined
Nov 8, 2015
Messages
252
Reaction score
125
First Language
German
Primarily Uses
Yes! I will have to slap myself for not seeing the obvious! Thanks :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top