selectionNames: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
//] | //] | ||
</code>|EXAMPLE1= | </code>|EXAMPLE1= | ||
|x2= <code>[[selectionNames]] player; | |||
//["spine","spine1","spine2","spine3","head","leftshoulder","leftarm","leftarmroll","leftforearm","leftforearmroll","lefthand","rightshoulder","rightarm","rightarmroll","rightforearm","rightforearmroll","righthand","pelvis","leftupleg","leftuplegroll","leftleg","leftlegroll","leftfoot","lefttoebase","rightupleg","rightuplegroll","rightleg","rightlegroll","rightfoot","righttoebase","weapon","proxy:\a3\characters_f\proxies\weapon.001","proxy:\a3\characters_f\proxies\pistol.001","proxy:\a3\characters_f\proxies\binoculars.001","proxy:\a3\characters_f\proxies\launcher.001","launcher","nvg","proxy:\a3\characters_f\proxies\nvg.001","proxy:\a3\characters_f\proxies\flag.001","proxy:\a3\characters_f\proxies\equipment.001","proxy:\a3\characters_f\proxies\backpack.001","proxy:\a3\characters_f\proxies\pistol_holstered.001","proxy:\a3\characters_f\proxies\head_male.001","proxy:\a3\characters_f\proxies\glasses.001","proxy:\a3\characters_f\proxies\headgear.001","proxy:\a3\characters_f\proxies\hair.001","proxy:\a3\characters_f\proxies\backpack2.001","proxy:\a3\characters_f\proxies\radio.001","body_proxy","head_proxy","lefthandindex1","lefthandindex2","lefthandindex3","lefthandmiddle1","lefthandmiddle2","lefthandmiddle3","lefthandring","lefthandpinky1","lefthandpinky2","lefthandpinky3","lefthandring1","lefthandring2","lefthandring3","lefthandthumb1","lefthandthumb2","lefthandthumb3","righthandindex1","righthandindex2","righthandindex3","righthandmiddle1","righthandmiddle2","righthandmiddle3","righthandring","righthandpinky1","righthandpinky2","righthandpinky3","righthandring1","righthandring2","righthandring3","righthandthumb1","righthandthumb2","righthandthumb3","injury_hands","camo","proxy:\a3\characters_f\heads\bysta.001","injury_legs","proxy:\a3\characters_f\proxies\hmd.001","hl","insignia","injury_body","clan"]</code>|EXAMPLE2= | |||
| [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |SEEALSO= | | [[createSimpleObject]], [[hideSelection]], [[selectionPosition]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:12, 30 November 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" //]
- Example 2:
selectionNames player; //["spine","spine1","spine2","spine3","head","leftshoulder","leftarm","leftarmroll","leftforearm","leftforearmroll","lefthand","rightshoulder","rightarm","rightarmroll","rightforearm","rightforearmroll","righthand","pelvis","leftupleg","leftuplegroll","leftleg","leftlegroll","leftfoot","lefttoebase","rightupleg","rightuplegroll","rightleg","rightlegroll","rightfoot","righttoebase","weapon","proxy:\a3\characters_f\proxies\weapon.001","proxy:\a3\characters_f\proxies\pistol.001","proxy:\a3\characters_f\proxies\binoculars.001","proxy:\a3\characters_f\proxies\launcher.001","launcher","nvg","proxy:\a3\characters_f\proxies\nvg.001","proxy:\a3\characters_f\proxies\flag.001","proxy:\a3\characters_f\proxies\equipment.001","proxy:\a3\characters_f\proxies\backpack.001","proxy:\a3\characters_f\proxies\pistol_holstered.001","proxy:\a3\characters_f\proxies\head_male.001","proxy:\a3\characters_f\proxies\glasses.001","proxy:\a3\characters_f\proxies\headgear.001","proxy:\a3\characters_f\proxies\hair.001","proxy:\a3\characters_f\proxies\backpack2.001","proxy:\a3\characters_f\proxies\radio.001","body_proxy","head_proxy","lefthandindex1","lefthandindex2","lefthandindex3","lefthandmiddle1","lefthandmiddle2","lefthandmiddle3","lefthandring","lefthandpinky1","lefthandpinky2","lefthandpinky3","lefthandring1","lefthandring2","lefthandring3","lefthandthumb1","lefthandthumb2","lefthandthumb3","righthandindex1","righthandindex2","righthandindex3","righthandmiddle1","righthandmiddle2","righthandmiddle3","righthandring","righthandpinky1","righthandpinky2","righthandpinky3","righthandring1","righthandring2","righthandring3","righthandthumb1","righthandthumb2","righthandthumb3","injury_hands","camo","proxy:\a3\characters_f\heads\bysta.001","injury_legs","proxy:\a3\characters_f\proxies\hmd.001","hl","insignia","injury_body","clan"]
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.