Hello, I've been referred to this topic for timed events for a business function in my project.
What I have in mind is simple how I intend it to operate- but I don't know how to implement it with this plugin.
Basically you end up running several small businesses that generate money to a cap over time. So for example the player runs a bar- the Cap is 5k but it takes say for example 50 minuets ( real time ) to generate that money. Of course during the course of my game there will be random problems like the bar got taken over by some bad guys and you have to be rid them before the money can be collected. I hope that explains the method intended.
In your case you would need to create a Variable, let's say Variable #1, then set
onChangeHour in your plugin settings for this plugin to fire a Common Event, let's say for example, Common Event #1, that increases that variable's value.
Common Event #1 would have a conditional; if Variable 1 is less than 5000 then Add 50 to Variable 1, else show text "My bank is full". If you want to be in real time that's a parameter you can set in
Orange Time System. If you want to literally be every 50 minutes instead of every hour you could use the
Variables plugin then set a Common Event
onChangeMinute instead of
onChangeHour and wrap the above conditional in an additional conditional to check if your Minute Variable is equal to 50 first.
If you want to collect the money, say at your cash register inside your business's map you'd make an actionable event to Gain Gold by the amount in Variable #1. Additionally you could always use other Events to decrease or increase that variable (say a "Theft" Event that decreases Variable #1 by 20%). Anytime you collect your money you'd only collect the amount in Variable #1.