selectionNames: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added selectionPosition to see also)
(Added example for selectionNames)
Line 2: Line 2:
|arma3|= Game name
|arma3|= Game name
|1.58|= Game version
|1.58|= Game version
| Returns the list of model selections |= Description
| Returns the list of model selections |= Description
| '''selectionNames''' object; |= Syntax
| '''selectionNames''' object; |= Syntax
|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |= Parameter 1
| [[Array]] - List of selection names |= RETURNVALUE  
| [[Array]] - List of selection names |= RETURNVALUE
</code>|= EXAMPLE1  
 
| [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |= SEEALSO  
|x1= <code>_house= "Land_i_House_Small_02_V3_F" createVehicle _pos;
[[selectionNames]] _house;
//[
// "door_1","door_2","damt_1","door_handle_1","door_handle_2","glass_1_hide",
// "glass_2_hide","glass_3_hide","glass_1_unhide","glass_2_unhide","glass_3_unhide",
// "glass_4_hide","glass_4_unhide"
//]
</code>|= EXAMPLE1
 
| [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |= SEEALSO
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
}}
}}

Revision as of 06:39, 5 June 2016

Hover & click on the images for description

Description

Description:
Returns the list of model selections
Groups:
Uncategorised

Syntax

Syntax:
selectionNames object;
Parameters:
object: Object
Return Value:
Array - List of selection names

Examples

Example 1:
_house= "Land_i_House_Small_02_V3_F" createVehicle _pos; selectionNames _house; //[ // "door_1","door_2","damt_1","door_handle_1","door_handle_2","glass_1_hide", // "glass_2_hide","glass_3_hide","glass_1_unhide","glass_2_unhide","glass_3_unhide", // "glass_4_hide","glass_4_unhide" //]

Additional Information

See also:
createSimpleObjecthideSelectionselectionPosition

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

Bottom Section

Notes

Bottom Section