Forum rules - please read before posting.

Custom Actions - Set a date and check it.

Hello, adventurers,

I am trying to figure out two scripts for custom actions.
1) A script to set a date (day and month)
2) Another one that detects if that date has arrived or not.

I know how to do this with a fictional time inside the game but I would like to try with real time.
I'll leave it here for now in case anyone can help me. Thank you so much.

Comments

  • Depending on your use-case, a custom script may not be necessary. Have you looked into the use of Timers?

    Timers are variables that can be increased in value periodically. You could have one for the Day, another for Month, that increase automatically. Because these are Global variables, you can then use the regular Variable: Check Action to check their values.

    For details, see the Manual's "Timers" chapter in the Variables section.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.