Mod articles
-
APPS_FW_Core
APPS_FW_Registrar Function GetBaseAPI()
With this function call you can get the base API of the registrar script. This function is useful if you need the API on scripts or script fragments which are not extending a Quest Form (In a ReferenceAlias script for example).
You also could use this call to check if the APPS - Framework is installed, but be aware that checking it this way a warning will be written into the Papyrus.log.
Return value: APPS_FW_Registrar
Returns the Quest Form of the Registrar API.
Example:
ScriptName MyAlias Extends ReferenceAliasEvent OnInit()
If(GetOwningQuest().IsRunning)
APPS_FW_Registrar Registrar = APPS_FW_Core.GetBaseAPI()
If(Registrar)