selectionNames: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example for selectionNames)
No edit summary
Line 34: Line 34:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on June 5, 2016 - 05:52 (UTC)</dd>
<dt class="note">[[User:Pennyworth|Pennyworth]]</dt>
<dd class="note">
[[selectionNames]] returns an array of [[Named_Selection|named selections]] from only the resolution LODs.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 06:52, 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

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