selectionNames: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (format)
Line 9: Line 9:
| [[Array]] - List of selection names |= RETURNVALUE
| [[Array]] - List of selection names |= RETURNVALUE


|x1= <code>_house= "Land_i_House_Small_02_V3_F" createVehicle _pos;
|x1= <code>_house= "Land_i_House_Small_02_V3_F" [[createVehicle]] _pos;
[[selectionNames]] _house;
[[selectionNames]] _house;
//[
//[

Revision as of 15:55, 19 September 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

Posted on June 5, 2016 - 05:52 (UTC)
Pennyworth
selectionNames returns an array of named selections from only the resolution LODs.