Xynvaroth Posted July 20, 2013 Share Posted July 20, 2013 This function is passed an array and it will then generate a string to be used as a parameter of select or prompt with the possibility of selecting each value of this array. There is a detailed documentation inside the file. Xynvaroth_DynamicSelect 1 Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 20, 2013 Share Posted July 20, 2013 Useful. XD Your documentation still says "Xynvaroth_ItemDynamicSelect", btw. :3 Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 20, 2013 Author Share Posted July 20, 2013 Thank you; I changed that. Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 20, 2013 Share Posted July 20, 2013 We can retrieve an [email protected] array in a function with [email protected][0] in argument? I though we couldn't Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 20, 2013 Author Share Posted July 20, 2013 We can retrieve an [email protected] array in a function with [email protected][0] in argument? I though we couldn'tI am not sure, whether I have understood you correctly. I think you mean that it is not possible to directly pass a NPC variable array to a function and then use it in the function, right? You can do this using copyarray: copyarray [email protected]$[ 0 ], getarg( 0 ), getarraysize( getarg( 0 ) );If you pass a NPC variable, it will also be copied into [email protected]$. That worked when I tested it. Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 20, 2013 Share Posted July 20, 2013 Yes that's what I mean. Thanks you I learned something interesting Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 22, 2013 Author Share Posted July 22, 2013 1.1 - Revised the documentation. 1.2 - Revised the documentation. Quote Link to comment Share on other sites More sharing options...