Random Generated events

From PSwiki
Revision as of 19:47, 23 September 2020 by Talad (talk | contribs)
Jump to navigation Jump to search

A new capability has been added to PSUnreal about generating random events in the game.

Database structure:

  • random_events table

Scripting:

  • Prerequisites (random_events.prerequisite)
    • The same syntax of quest prerequisites can be used with the following additions:
      • <skillsinrange name="Sword" min="10" max="20" range="10"> (works as skill but checks all the players in range and sum up their skills). If the name is empty it sums up the total skills of all players in range.
  • Script for the event (random_events.script)