createDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also, description, format)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Create child display of given display and load from "resourceName". |= Description
| Create child display of given display and load from "resourceName". The notable difference between [[createDisplay]] and [[createDialog]] is that if child display class has ''movingEnable <nowiki>=</nowiki> 1;'' param, the player would be able to move whilst having control of the mouse pointer. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_display createDisplay "RscObserver"</pre> |= Example 1
|x1= <code>[[findDisplay]] 46 [[createDisplay]] "RscObserver";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[closeDisplay]]|= See also
|[[closeDisplay]], [[createDialog]] |= See also


}}
}}

Revision as of 01:33, 24 August 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Create child display of given display and load from "resourceName". The notable difference between createDisplay and createDialog is that if child display class has movingEnable = 1; param, the player would be able to move whilst having control of the mouse pointer.
Groups:
Uncategorised

Syntax

Syntax:
parent createDisplay resourceName
Parameters:
parent: Display
resourceName: String
Return Value:
Nothing

Examples

Example 1:
findDisplay 46 createDisplay "RscObserver";

Additional Information

See also:
closeDisplaycreateDialog

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section