Skip to content

Random Events

b5635 edited this page Jul 12, 2022 · 1 revision

Adding a random event is pretty simple. The first thing you need to do is look at an area's variables and append the amount of random events.

Here is "Beggar's Nest - Great Graveyard". As you can see, there are three events: eve_militia, eve_paladin, eve_ghoul, eve_wilderness, and eve_ranger.

There's a 1 in 3 chance of a random event occuring in an area. When that occurs, it will randomly select one of those events. The script is then executed on one of the randomly selected "EVENT_WP" waypoints in the area.

Below is a screenshot of a few "EVENT_WP" waypoints in the area.