timo Registered User |
Quote
|
2023-01-15 15:34:49 |
|
look i don't want to look deep into the forums and i know that atleast one of you guys know how to make one, i need a shop. when i buy like a tire with 2 wood or something, that it spawns into the world
|
Aiming_bullets Guest |
Quote
|
2023-01-15 15:40:38 |
|
use variables simply. Create a currency variable and check that variables if the variable is equal or greater than the item value then clone the item and subtract the item value from the currency variable.
it will automatically decrease your currency and will give you your item.
in your case the currency can be wood that gives a tire with 2 wood.
|
timo Registered User |
Quote
|
2023-01-15 15:45:05 |
|
yes, but i switch scenes when i go in my shop scene,
|
Guest Guest |
Quote
|
2023-01-15 17:21:48 |
|
Look in the documentation for the "Load or Store a Variable" action.
https://www.ambiera.com/coppercu...
|