Hi guys
I’ve got this piece of code:
local function myFunction()
local m
for m=1, #myObjects, 1 do
-- do stuff
end
end
I would like to increase the value of another variable but only once the last object in the array has been processed.
I’ve tried but it increases the value on every object.
What’s the best way to do this? [import]uid: 40538 topic_id: 14013 reply_id: 314013[/import]