Page MenuHomeFeedback Tracker

selectDiarySubject (command + function)
New, NormalPublic

Description

When trying to script the selection of a diary subject, neither the command selectDiarySubject or the function BIS_fnc_selectDiarySubject work. It is stated that the function is supposed to be a "temporary replacement" for the command but it doesn't work.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
1903
Category
Scripting
Steps To Reproduce
player createDiarySubject ["description","MIL_DominationDM"];
player createDiarySubject ["features","Features"];

player createDiaryRecord ["features",["Roles","ROLES TEXT"]];
player createDiaryRecord ["features",["Features","FEATURES TEXT"]];

player createDiaryRecord ["description",["Scoring","SCORING TEXT"]];
player createDiaryRecord ["description",["Description","DESCRIPTION TEXT"];

sleep 0.1;

//function
["description"] call BIS_fnc_selectDiarySubject;
//script command
//player selectDiarySubject "description";

Comment out either the function or the command and run from anywhere in an empty mission.

Additional Information

It's not game breaking, but if it's important enough for BI to release an interim function to cover the loss of capability, and then that function also fails, then I figured it could be called a major bug.

Also: BI Forum Topic

Event Timeline