Good evening people,
i was wondering if someone could possible help me, i'm trying to run an array loop which sets a variable to the number of words in array which match but the way I've got it don't work properly and i don't like it. it seems unreliable heres an image http://imgur.com/SpzFL4O
can anyone help me please
darkrealos Is this what you're after?:
https://www.dropbox.com/s/6i6vf8f16wfnp ... .capx?dl=0
I've added the function setArray for testing purposes.
Tap the spacebar to trigger setArray, which resets the array, and then ResourceUpdates, which counts up the number of "ForestryHuts" in the array. No need for the ResourceBuildingCheck variable.
Develop games in your browser. Powerful, performant & highly capable.
i think that is exactly what i want, let me try add it to my game and let you know
checked it and it works exactly how i wanted it to thanks a ton man,
arrays are defiantly something i struggle with
Cool, glad to be of help
hey sorry for the late reply managed to do exactly what i wanted thanks alot