@EDIT:
Tylko jak zrobić z tym:
GML
get_open_filename("Col Block Map (cbm)","")
żeby nazwa dobra była:
GML
file_txt = file_text_open_read( 'mapka.cbm' );
while ( not file_text_eof( file_txt ))
{
line = file_text_read_string( file_txt );
file_text_readln( file_txt );
pos = string_pos( '|', line );
object = string_copy( line, 1, pos -1 );
line = string_copy( line, pos + 1, string_length( line ))
pos = string_pos( '|', line );
xx = string_copy( line, 1, pos -1 );
line = string_copy( line, pos + 1, string_length( line ))
yy = line;
instance_create( real( xx ), real( yy ), real( object ));
}
file_text_close( file_txt );