createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
(example)
Line 12: Line 12:
| '''CreateGearDialog''' [unit,resource] |= Syntax
| '''CreateGearDialog''' [unit,resource] |= Syntax


|p1= [unit,resource]: [[Array]] -  |= PARAMETER1  
|p1= [unit, resource]: [[Array]] -  |= PARAMETER1  


|p2= unit: [[Object]]  |= PARAMETER2  
|p2= unit: [[Object]]  |= PARAMETER2  


|p3= resource: [[String]]  |= PARAMETER3  
|p3= resource (Optional): [[String]]  |= PARAMETER3  


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>[[createGearDialog]] [player, "RscDisplayGear"];
|x1= <code>[[createGearDialog]] [player];
[[createGearDialog]] [player, "RscMyDisplayGear"];
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  



Revision as of 12:24, 19 April 2017

Hover & click on the images for description

Description

Description:
Opens gear dialog for given unit.
Groups:
Uncategorised

Syntax

Syntax:
CreateGearDialog [unit,resource]
Parameters:
[unit, resource]: Array -
unit: Object
resource (Optional): String
Return Value:
Nothing

Examples

Example 1:
createGearDialog [player];

Additional Information

See also:
createDialogcreateDisplay

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

Posted on April 12, 2015 - 20:20 (UTC)
Zealot111
Arma 3 v. 1.42 crashes when executing examples above in debug panel.