How do a achievement system works, specially the one teamfortress uses?
All I can think of that they would have used if statments, like this:
- Code: Select all
if !player in air and getFrag: {
doUnlockAIRFRAGachievement;
erase: doUnlockAIRFRAGachievement;
return 1;
}
Very bad mix between python and c++, if any of them
But sins there is 379 achievements to unlock when a guy plays the game for the first time, this must be an very ineffective way?






