selectionNames: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (removed semicolon in example syntax) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
| '''selectionNames''' object |= Syntax | | '''selectionNames''' object |= Syntax | ||
|p1= object: [[Object]] |= Parameter 1 | |p1= object: [[Object]] |= Parameter 1 | ||
| [[Array]] - List of selection names |= | | [[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; | ||
Line 16: | Line 16: | ||
// "glass_4_hide","glass_4_unhide" | // "glass_4_hide","glass_4_unhide" | ||
//] | //] | ||
</code>|= | </code>|EXAMPLE1= | ||
| [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |= | | [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 10:36, 7 April 2019
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
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.