Jump to content
New account registrations are disabed. This website is now an archive. Read more here.

Question

Hiya.. So does anybody know of a way to event (or script) rent payments that go out after a set amount of time, without using the timer, and that fines you a certain amount when you can't afford to pay?

It needs to be able to be turned on and off, it has to happen after a certain amount of time but it can't use the timer.

Challenging? Impossible? I think so, but I can hope

Thankss!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Here's a demo of how to use a variable as a timer.

You will still need to do a few things like: close the door, turn off the "Unlock Room" switch for a 1 night rent,

and whatever you want to do when the "Fine" variable has a value. (obviously you can't pay a fine if you can't pay your rent)

Parallel process runs 20 times per second, so I set the "Rent Timer" variable to 200 (~10 seconds) just to test.

The "Rent Room" switch just turns on the parallel common event that decrements the Rent Timer variable, and processes

the action when you run out of gold.

 

http://www.hbgames.org/user_files/tenoukii_rent_system.exe

 

If you choose "Weekly" and wait 10 seconds, hit X for menu you'll see the gold drop by 5G,

after another 10 seconds, you'll see the message from the common event, "You lose your room. Not enough Gold"

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...