Reading objects, pickups and spawns from a .txt file?
#2

Код:
//Open File
for(new i = 0;i<200;++i)
{
    new obid;
    //Read line
    obid = ;//get Object id by reading line
}
//Close file
Also, you can make infinite loop.
Break loop when obid is either NULL or INVALID.
Reply


Messages In This Thread
Reading objects, pickups and spawns from a .txt file? - by Gangs_Rocks - 28.07.2012, 06:35
Re: Reading objects, pickups and spawns from a .txt file? - by [MM]RoXoR[FS] - 28.07.2012, 07:16
Re: Reading objects, pickups and spawns from a .txt file? - by Gangs_Rocks - 28.07.2012, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)