I want to check for a value in my array on a certain axis, I.E positions (1,0) (1,1), (1,2)... for my inventory. As I want to check for item ID's but the second line of the array (the one that defines the amount of an item in the inventory) is interfering
Develop games in your browser. Powerful, performant & highly capable.
ID is on X ? Amount is on Y ?
Store as
(action) Set at XY .. x = id .. y = 1
Retrieve as
(expression) Array.At(id,1)
Compare as
(condition) Compare at XY .. X = id .. Y = 1