Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
shop

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...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact