ref currentCellshort stateshort CellIDBegin GameModeset currentCell to player.getParentCell ; working correctlyset CellID to -1set CellID to ListGetFormIndex ULCellProcList currentCell ; problem with this line?if CellID >= 0 printToConsole "Cell Processing..." set state to 1elseif CellID <= -1 printToConsole "Cell Not in Process List..." set state to 2endifEnd
set iFormIndex to ListGetFormIndex rWeaponRepairList rBaseInvObj