(adsbygoogle = window.adsbygoogle || []).push({});
This code only unlocks all challenges it does not unlock attachments...
UnlockChallenges()
{
self.challengeData = ***91;***93;;
for ( i = 1; i <= level.numChallengeTiers; i++ )
{
tableName = "mp/challengetable_tier"+i+".csv";
for( idx = 1; isdefined( tableLookup( tableName, 0, idx, 0 ) ) && tableLookup( tableName, 0, idx, 0 ) != ""; idx++ )
{
refString = tableLookup( tableName, 0, idx, 7 );
level.challengeInfo***91;refstring***93;***91;"maxval"***93; = int( tableLookup( tableName, 0, idx, 4 ) );
level.challengeInfo***91;refString***93;***91;"statid"***93; = int( tableLookup( tableName, 0, idx, 3 ) );
level.challengeInfo***91;refString***93;***91;"stateid"***93; = int( tableLookup( tableName, 0, idx, 2 ) );
self setStat( level.challengeInfo***91;refString***93;***91;"stateid"***93; , 255);
self setStat( level.challengeInfo***91;refString***93;***91;"statid"***93; , level.challengeInfo***91;refstring***93;***91;"maxval"***93

;
wait 0.01;