QuestsSystem

Documents the QuestSystem class and its functions. This system is responsible for managing Quest related actions within the game.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking QuestsSystem

To invoke the quests system, use the following Global function:

qs = Game.QuestsSystem()

Sub-functions

GetFact

GetFact(factName : CName) : Int32;

GetFactStr

GetFactStr(factName : String) : Int32;

GetGameplayTimerData

GetGameplayTimerData(out seconds : Float, out percent : Float);

RegisterEntity

RegisterEntity(factName : CName, entityId : EntityID) : Uint32;

RegisterListener

RegisterListener(factName : CName, listener : ref:IScriptable, funcName : CName) : Uint32;

SetFact

SetFact(factName : CName, value : Int32);

SetFactStr

SetFactStr(factName : String, value : Int32);

UnregisterEntity

UnregisterEntity(factName : CName, callbackId : Uint32);

UnregisterListener

UnregisterListener(factName : CName, id : Uint32);

Last updated