FOR loops have three fields, two for integer numbers, and one for an expression for what to set the current array index to. I would like to use variables in the first two fields for a project I'm working on, so I can access different ranges of the array I'm working with.
Variables currently resolve to zero when I put them in either of those first two fields.
Loops (both for array indexes and for executing tasks multiple times) would be much more useful with this enhancement.
If you could use a %number% reference then the player could say "take 5 objects from the bag" and you could run a "take random object from bag" task 5 times.
If you could use %object%.Contents.Count then you could do one loop for each object inside %object%.
It should allow a full expression so you could for example find the difference between the number of objects carried and the number of items that they are allowed to carry and remove the excess items.