Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

A variable changing to another variable times 10.

10 years ago

I'd like to know how to make COCO be added to DOLLARS times 10, please. (I know the variable names are weird, it's for a game I'm making)

A variable changing to another variable times 10.

10 years ago

You really should start reading the Help and Info section more often.

%COCO := (%COCO + %DOLLAR)*10

A variable changing to another variable times 10.

10 years ago

Yeah, maybe I should. Thanks!

A variable changing to another variable times 10.

10 years ago

Or you could also try -

%COCO := %COCO + (%DOLLARS * 10)

A variable changing to another variable times 10.

10 years ago

Thanks. Published the game (Candy Quest).