for( var doorCheckingNow : GameObject in currentCell.GetComponent(AIPathCellScript).doors)
{ // statement that go through the list of every cell in the game
for (var i : int = 0; i <= doorCheckingNow.GetComponent(AIpathDoorScript).cells.length -1; i++)
{
if( doorCheckingNow.GetComponent( AIpathDoorScript).cells *== playerCell)*
if( doorCheckingNow.GetComponent( AIpathDoorScript).doorsToCells < shortPathSoFar)
// // here is the line doorTocell is a array with objects and it is a function array.
not to sure whats going on, I think it has something to do with a array with object can’t be less then a float, Just don’t know how to rewrite it the correct way. Any help will be apperciated