World Event System EN - Drova-Modding/Drova-Modding-API GitHub Wiki

The WorldEventSystem spawns in a User defined time events. To create an Event, you would just need to implement IWorldEvent and Register your Event at any time in the WorldEventSystemManager.

In the DEV Version the Events spawn at the User Defined Minutes * 30 instead of * 60

For easier implementation you can also use the existing Base Events.

PersistentEncounterEvent

PersistentEncounterEvent allows you to add to the constructor lazy actors which are spawned persistent.

TimedEvent

A base event class which runs a certain Time and than ends itself

EncounterEvent

Here you can put in a List of Encounters with which to spawn and how often. They are not persistent and will be removed after a certain amount of time to negate performance problems, you can increase this time, if you need to. This Event will not start, when the player is teleporting or isn't alive.

ARegionalEvent

Abstract event for a Regional Event, when a players enters a Region, this is kind of special and will check multiple Events, if they can run in parallel. You get notified about entering your declared region and when the player leaves.