Page MenuHomeFeedback Tracker

createDialog does not work during briefing
Closed, ResolvedPublic

Description

The createDialog command does not work properly during the briefing. I use a diary entry similar to this one ...

player createDiaryRecord ["Diary", ["Create Dialog", "Click <executeClose expression='createDialog ""MyDialog"";'>here</executeClose> to create the dialog."]];

... and it works properly during the mission, but not during the briefing. The dialog appears to be opened in the background behind the briefing display (leading to visual glitches), but it is not shown.

Using findDisplay 52 createDisplay "MyDialog" instead of createDialog works properly during the briefing.

Details

Severity
Minor
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce


Preview this mission in singleplayer (with briefing) and multiplayer to experience the behaviour. Modify the IDD used in initPlayerLocal.sqf when changing from single- to multiplayer.

Additional Information

Version: 2.04.147719

Event Timeline

ansin11 created this task.Aug 29 2021, 1:47 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.EditedAug 30 2021, 2:42 PM

Never mind

ansin11 edited Steps To Reproduce. (Show Details)Aug 30 2021, 3:39 PM

Too late now, I already made the repro mission 😛

How do I test it in SP?

BIS_fnc_KK changed the task status from New to Need More Info.Sep 2 2021, 11:14 PM

Open the unpacked mission in the Editor, go to Play at the top and choose Play in SP with Briefing.

BIS_fnc_KK changed the task status from Need More Info to Assigned.Sep 4 2021, 12:04 PM
BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Sep 7 2021, 12:47 PM
BIS_fnc_KK changed the task status from Assigned to Feedback.

Rev 148602 changes reverted in favour of alternative syntax https://community.bistudio.com/wiki/createDialog. Use createDialog ["MyDialog", true]; to make sure it is visible during briefing

Tenshi closed this task as Resolved.Nov 1 2022, 12:34 PM
Tenshi changed Resolution from Open to Fixed.