Log functions (Vanilla)
Log externals are used to manipulate players log and to track quest progress.
Functions
Log_CreateTopic
Log_CreateTopic
Creates a new log topic with the name topicName under the section logSection
- var string topicName
 Unique string used to identify and name the topic
- var int logSection
 Indicates in which section to create the topic in.
 Takes constants- LOG_MISSION,- LOG_NOTEas values
Log_AddEntry
Log_AddEntry
Adds an entry to a log topic with the name topicName under the section logSection
- var string topicName
 Unique string used to identify and name the topic
- var string entry
 Content of the new entry
Info
In the engine the Log_AddEntry() is wrapped in a B_LogEntry() function. This function also handles printing the "New Journal Entry" message to the screen and playing the sound effect.
Log_SetTopicStatus
Log_SetTopicStatus
Changes the status of the topic with the name topicName
- var string topicName
 Unique string used to identify and name the topic
- var int status
 The status to be set.
 Takes constants- LOG_RUNNING,- LOG_SUCCESS,- LOG_FAILED,- LOG_OBSOLETEas values
zParserExtender
The log external function selection is missing functions to retrieve the status of a log entry. There are only functions to read the log status (as discussed on Inside Gothic). As a result of this the original scriptwriters had to define additional variable to track the log status in the scripts, even though the value is being already tracked by the engine. zParserExtender fixes this by introducing new log external functions.