Skip to content
jbezorg edited this page Oct 11, 2013 · 7 revisions

This is a conceptual copy of SkyUI's version control with some minor changes.

Versioned quest scripts must extend questVersioning.

Under the Quest Aliases tab, add a new reference alias pointing to the Specific Reference, Cell any, Ref PlayerRef. Then add the questVersioningPlayerAlias script

function qvGetVersion

int Function qvGetVersion()

Returns the static version number of the script.

function qvUpdate

function qvUpdate( int aiCurrentVersion )

Called on every game load. In addition to version control it can be used to register mod events.

  • param int aiCurrentVersion - This is the current running version of the quest at the time of game load. The running version is updated to the value returned by qvGetVersion() after this function is called.

Property qvCurrentVersion

The current running version of the quest script.

Clone this wiki locally