I'm trying to make an array that has every movement option in it. It's a long list and I want to call parts of it out and at some points check the whole array of values to make sure it doesn't go out of bounds. I'm trying to simulate extra dimensions so I need lots of movement value in some sort of organized table.
I don't understand why I can't call out the operation of a move function this way or how to make a useful database that has every movement value I want in it. I'm using the GD-script language. Any help would be much appreciated.
var white_pawn_moves = ["global_translate(2,2,0)", "global_translate(2,-2,0)", "global_translate(12,2,0)", ...]
white_pawn_move[0]