Its meant to be a function that can return info about the gridmap (map) but no matter what I do the var always comes up as Nil
func get_save_array():
# Define the 3 arrays to fill
var poses = Array()
var ids = Array()
var orientations = Array()
# For every block in GridMap get its info and append it to the arrays
for i in map.get_used_cells():
poses.append(i)
ids.append(map.get_cell_item(i))
orientations.append(map.get_cell_item_orientation(i))
# Create an array of the other arrays
var griditems = Array()
griditems.append(poses)
griditems.append(ids)
griditems.append(orientations)
Yep! Did that. I tried to refrence it by both print(type_string(griditems)) and by using it as an array, any of which return a similar error: Error calling utility function "type_string()": Nil