Jump to content
  • 0

Any chance of ever being able to use variables in other event actions?


Teppy

Question

For example, I have the option for players to purchase and run their own shops. If I break it down into a simple functionality, let's say this happens:

 

Someone buys a potion shop.

The potion shop automatically lets any other player come and pay 5 gold to buy a potion.

 

Now ideally, how it would work, is when someone buys a potion it adds 5 to a global variable called shop1profit.

 

Then, let's say when the owner of the shop goes to his chest in the back of the shop he collects all the gold the shop has earned thus far.

 

Ideally it would simply add gold in the amount of shop1profit then set shop1profit to 0.

 

Any chance of every being able to do this? Or compare variables to etc. ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
2 minutes ago, Gibier said:

No intersect's event dont allow it. You can try to suggest it or add it when the sources will be releash.

Doh I totally meant for this to be in suggestions -- can you move it for me?

Link to comment
Share on other sites

×
×
  • Create New...