P
PepticPaladin
Guest
I've set up a ds_list with each position of the list being coordinates. It looks like this:
using ds_list_find_value(global.grad3, 0) returns {1,1,0}. I only want the 1 at the start. How would I get just the first number in each position of the list?
Code:
global.grad3 = ds_list_create();
ds_list_add(global.grad3, [1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],
[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],
[0,1,1],[0,-1,1],[0,1,-1],[0,-1,-1]);