Jump to content


quantumleap2099

Member Since 24 May 2012
Offline Last Active Jan 15 2013 02:33 AM

Topics I've Started

tilt function help

26 May 2012 - 04:34 AM

Never mind i figured it out

Need help with achevment code

24 May 2012 - 08:03 AM

i am trying to have an object called obj_ini make a file called achevments.ini, and also have each achement in the "achevments page" read if that achement is unlocked. but nether work.

ini_open('achevments.ini');
ini_write_real('achevment_400000','Key1',0);
ini_write_real('achevment_king','Key2',0);
ini_write_real('achevment_Newbie','Key3',0);
ini_write_real('achevment_LOL','Key4',0);
ini_write_real('achevment_Begin','Key5',0);
ini_close();

above code is soposed to make the ini file
the next code is soposed to see if the achevment is unlocked and then makes a check mark next to the achevments name

ini_open('achevments.ini');
{
ini_read_real('achevment_Begin','Key5',1);

ini_close();
}

{
instance_create(32,96,obj_achevmentdisplay);
}
oh and how would i make the game change the value from 0 to 1 when i unlock the achement?
Thanks!