16.01.2019, 16:45
Hey!
I'm currently working on converter that gets object model and coordinates from .map file and converts it into createdynamicobject.. now, Im wondering how do you check if map has been loaded.. meaning if all objects have been loaded.. I'm assuming you make Objects = 0 for example and everytime object is created you do Objects++.. but how do you check how many lines of objects are there in .map file in first place so you can check if(Objects = lines) later on.. Thank you in advance
I'm currently working on converter that gets object model and coordinates from .map file and converts it into createdynamicobject.. now, Im wondering how do you check if map has been loaded.. meaning if all objects have been loaded.. I'm assuming you make Objects = 0 for example and everytime object is created you do Objects++.. but how do you check how many lines of objects are there in .map file in first place so you can check if(Objects = lines) later on.. Thank you in advance