Search the Community
Showing results for tags 'rocks'.
Found 1 result
Niktus Acid posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGHi! I want to create a function that allows me to remove trees in entire maps in a balanced way, basically reducing the ammount of trees on heavily crowded forests. I want to do this as quick as possible, so my take on this was to run a function to iterate over hundred thousands trees, choose randomly 50% of all trees (for example), and store the resulting array in a file, that I could call straight away to remove those objects on mission load. And when I run my function to delete those objects, I receive " Error Missing ] " at this point: (#) _remove = [299376: t_piceaabies_3f#.p3d,122775: t_piceaabies_3f.p3d,507279: t_piceaabies_3f.p3d, ... , ... ]; It is asking me to close brackets before .p3d on first element. I'm grabbing all data with copyToClipboard str This problem only happens when I'm trying to store data in an array, but if I run this inside the game, same logic, I can delete everything I want without problem. Any idea what I'm missing here?