Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Delayed Events #45

Open
2 of 3 tasks
TheBadListener opened this issue Nov 1, 2020 · 2 comments
Open
2 of 3 tasks

Introduce Delayed Events #45

TheBadListener opened this issue Nov 1, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@TheBadListener
Copy link
Member

TheBadListener commented Nov 1, 2020

  • New Tag.
  • New Launcher for Delayed Events.
  • Add Option to Delayed Events.
@TheBadListener TheBadListener added the enhancement New feature or request label Nov 1, 2020
@LL-Muse
Copy link

LL-Muse commented Dec 24, 2020

I did something similar in one of my other mods

I pretty much add a new class that had 2 fields
-time left in hours
-event to fire

created a list of type of my new class
then I added a campaign on hourly tick where I iterate over the list and decrement the hours left and check if it is 0
and once it hits zero I execute the event and remove it for the list

@TheBadListener TheBadListener pinned this issue Feb 19, 2021
@TheBadListener
Copy link
Member Author

Added Randomizer and Conditional Checker as well as for Random/Captor/Captive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants