Display – Talk

From Bohemia Interactive Community
Revision as of 14:52, 6 June 2021 by Lou Montana (talk | contribs) (Text replacement - "informations" to "information")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What`s the difference between display and dialog?

dialog is a scripting command returning a boolean. Display is a new datatype in ArmA that is returned by findDisplay for example --T_D 15:12, 22 April 2007 (CEST)
Let's rephrase the original posters question: what's the difference between Display and Dialog? I've attempted to describe some superficial differences based on information from this wiki, but have no knowledge of the underlying mechanisms.. --Besselinksjm 13:46, 6 January 2010 (CET)
Could the difference be that a Display is not interactive and just shows information whereas a Dialog is supposed to interact with the user? Just a thought... --T_D 15:41, 6 January 2010 (CET)


They are the same thing. There isn't much use in trying to give different meanings to the two terms. Historically the two terms exist because dialogs were introduced in OFP, but later in Arma the concept was expanded, and the display data type and related commands were added. Now we have two terms referring to the same thing.
The only difference worth looking into is the difference between displays created via the createDialog command, vs those created via createDisplay. Both commands create displays; however the createDisplay command requires an existing display to already be on the screen, so you can create a "child" display of it (whatever that means). Put another way, you have to create the first display on the screen using createDialog, but then subsequent displays can be created using createDialog OR createDisplay. Both commands are creating displays, the difference is just in whatever the "parent/child" relationship means between two displays.
--General Barron 23:38, 7 January 2010 (CET)