Hello all,
I'm trying to get my head round doing the following set of actions using Construct 2. Could anyone lend me a hand :)
I have a global var moveID.
I increment this every time a move command is issued (like press right etc).
I also add this value to a one dimensional array using [moveID] as the index and then the move value.
What I want to be able to do, is take any moveID (let's say 100) and the array has values for example to 150. Loop from 100 to the end, extracting the values and adding them to another variable.
Then delete all the indexed values we just looped through.
I'm ok doing this in javascript but just need to understand what this will look like in c2.
Many thanks.