Difference between revisions of "Random Generated events"

From PSwiki
Jump to navigation Jump to search
(Created page with "A new capability has been added to PSUnreal about generating random events in the game. Database structure: * random_events table Scripting: * Prerequisites (random_events.p...")
 
Line 6: Line 6:
Scripting:
Scripting:
* Prerequisites (random_events.prerequisite)
* 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)
* Script for the event (random_events.script)

Revision as of 20:47, 23 September 2020

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)