I have a program that lists the names and ids for the levels.
If I know the levelID, the first program works. The problem is with my function
mdlLevel_getIdFromName(&levid,modelRef,LEVEL_NULL_ID,&levelName);
For some reason this is giving me the incorrect level name. I am sure the program is correctly turning off whatever that wrong level ID is (which doesn't exist). I am assuming that it is giving me the wrong levelID, because it is a bad levelName.
If I know the levelID, the first program works. The problem is with my function
mdlLevel_getIdFromName(&levid,modelRef,LEVEL_NULL_ID,&levelName);
For some reason this is giving me the incorrect level name. I am sure the program is correctly turning off whatever that wrong level ID is (which doesn't exist). I am assuming that it is giving me the wrong levelID, because it is a bad levelName.