|Topic was automatically imported from the old Question2Answer platform.
For example, I have a variable damage exported from the editor, which is an array where the first number is the minimum damage, and the second is the maximum damage. I need to name the first and second element respectively and limit the array to at most two values.
this code allows you to import an array of numbers from the editor, but I also need to name the elements and limit their number.
export (PoolIntArray) damage := [1, 2]