Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

EventScripting

Havard's archived site is a good starting point. Eventually everything there will be incorporated here.

Event limiters

These determine who can and can't get the event, and when it may happen.

  • trigger - covered elsewhere. All types of events may have triggers.
  • global - if yes, the event will appear for all human players
  • persistent - if yes, the event will happen more than once during its dates if its trigger is satisfied again.
  • random - if yes, the event may happen more than once. It is placed into the random event pool which is weighted equally per event, except if weight is used also. weight has no meaning for non-random events.
  • date - used for non-random events
  • offset - used only with date (not necessarily deathdate)
  • deathdate - used only with date and offset
  • country - if set, only the specified country may receive the event. Cannot be used with province.
  • province - if set, only the country owning the specified province may receive the event. Cannot be used with country.

Table of two-part interactions

Given this ↓ can you use this→?triggerglobalpersistentrandomdateoffsetdeathdatecountryprovince
triggerXYesYesYesYesYesYesYesYes
globalYesX??YesYesYesNONO
persistentYes?XNORequiredYesYesYesYes
randomYes?NOXNONONOYesYes
dateYesYesYesNOXYesYesYesYes
offsetYesYesYesNORequiredXYesYesYes
deathdateYesYesYesNORequiredRecommendedXYesYes
countryYesNOYesYesYesYesYesXNO
provinceYesNOYesYesYesYesYesNOX

Table of three-part interactions

Given these ↓ can you use this→?globalpersistentrandomdateoffsetdeathdatecountryprovince
global+persistentXXNO
global+randomXNOX
global+dateX
global+date+offsetX
global+date+offset+deathdateX
persistent+date+offset
Edit - History - Print - Recent Changes - Search
Page last modified on May 18, 2024, at 02:38 PM