begin celltestScript; we want tho check if we are for instance in cell -3, 8float templong x1long y1set temp to ( player->GetPos X ) ; unitsset temp to ( ( temp / 8192 ) + 0.5 ) ; cellsset x1 to temp ; truncatedset temp to ( player->GetPos Y )set temp to ( ( temp / 8192 ) + 0.5 )set y1 to tempif ( x1 == -3 ) if ( y1 == 8 ) MessageBox "You are in cell %g, %g" x1 y1 endifendifend