Fixed it, I used a temporary variable to store the list value for the loop
global.selected=id
var adjRegions;
var highregion;
adjRegions = global.selected.region.adjacentRegions //just to make the variable shoter for the rest of the code
for(i=0; i<ds_list_size(adjRegions); i+=1){
highregion=ds_list_find_value(adjRegions, i)
highregion.visible=1
}Ok, so now I have a new issue. Making the army recognize that it's region is now the new one. I've got the army to properly move from one region to another (Thanks a whole bunch for the help!) but now whenever I reselect the army, the adjacent regions for the previous one are highlighted (obviously because he hasn't recognized the new region yet)
Edited by ProxatorDesign, 28 July 2012 - 06:04 AM.











