I've got an array of object names from my map, and I'm trying to identify their position.
If I use position "myObject"
, I get the error Type String, Expected Object,Location.
How do I get an object from its string name?
Well, I ended up using:
call compile format ["var%1 = 0",_n];
That seemed to work for me.