Array – Talk
Ilias38rus (talk | contribs) No edit summary |
Ilias38rus (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 29: | Line 29: | ||
: Hi, if you have the game you can try and update the wiki page. '''Again''', this is not the place to ask such question - [https://discord.gg/arma ARMA Discord] is. - [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 17:08, 27 June 2020 (CEST) | : Hi, if you have the game you can try and update the wiki page. '''Again''', this is not the place to ask such question - [https://discord.gg/arma ARMA Discord] is. - [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 17:08, 27 June 2020 (CEST) | ||
::Its a thing to specify and not a personal question, chesus .. [[User:Ilias38rus|Ilias38rus]] ([[User talk:Ilias38rus|talk]]) 21:07, 30 June 2020 (CEST) | ::Its a thing to specify and not a personal question, chesus .. [[User:Ilias38rus|Ilias38rus]] ([[User talk:Ilias38rus|talk]]) 21:07, 30 June 2020 (CEST) | ||
::: If we are here, it is indeed to fill the wiki - if you want to see the information on this page, test it and add it, otherwise, wait for someone that has the information to add it to the page. I believe you do have page edit rights? - [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 18:45, 1 July 2020 (CEST) | |||
:::: 1 who already have the info may see the mention about that its missed, its still better than just ignoring if you saw the miss. [[User:Ilias38rus|Ilias38rus]] ([[User talk:Ilias38rus|talk]]) 17:26, 2 July 2020 (CEST) |
Latest revision as of 16:26, 2 July 2020
Should there be any comment here or in random about randomly selecting an array element given the rounding rules? Or am I being ridiculous?
e.g.
_myArray select ((random (count _myArray)) - 0.5)
--Mr.Peanut 21:11, 28 September 2006 (CEST)
tmp = [];
val1 = [1,2,3];
val2 = [3,4,5];
tmp = tmp + [val1];
tmp = tmp + [val2];
tmp = tmp - [val1];
not working, why? I've also tried "tmp = tmp - val1;" --MessiahUA 16:14, 19 September 2008 (CEST)
Getting Object data directly from an array of Objects
It appeared that I could only retrieve information about an object in an array by first copying the information to a non-array variable.
e.g. 1: <getPosATL myArray select 0;> returned null.
e.g. 2: <myVar = myArray select 0; getPosATL myVar;> read without issue.
Reason is, I'd forgotten parentheses. getPosATL is expecting an object, not an array, but the code returns no object, only after (myArray select 0) is processed, so use parentheses where they are needed. (thnx James ^.^)
Max items limit
Is it related to 1 dimension or all items within an array? - Ilias38rus (talk) 01:30, 27 June 2020 (CEST)
- Hi, if you have the game you can try and update the wiki page. Again, this is not the place to ask such question - ARMA Discord is. - Lou Montana (talk) 17:08, 27 June 2020 (CEST)
- Its a thing to specify and not a personal question, chesus .. Ilias38rus (talk) 21:07, 30 June 2020 (CEST)
- If we are here, it is indeed to fill the wiki - if you want to see the information on this page, test it and add it, otherwise, wait for someone that has the information to add it to the page. I believe you do have page edit rights? - Lou Montana (talk) 18:45, 1 July 2020 (CEST)
- 1 who already have the info may see the mention about that its missed, its still better than just ignoring if you saw the miss. Ilias38rus (talk) 17:26, 2 July 2020 (CEST)
- If we are here, it is indeed to fill the wiki - if you want to see the information on this page, test it and add it, otherwise, wait for someone that has the information to add it to the page. I believe you do have page edit rights? - Lou Montana (talk) 18:45, 1 July 2020 (CEST)
- Its a thing to specify and not a personal question, chesus .. Ilias38rus (talk) 21:07, 30 June 2020 (CEST)