@Ox_ said in Where to find useful functions and variables (reference) for GSC?:
More experienced people just remember the stuff from years of experience from earlier cods etc.
When getting started, just pretty much just Google search for a list of stuff. Looking at what other people have done is also good when getting started.
Loads of tutorials for gsc found with a Google search as well. Remember that you don't have to search for BO2 gsc, gsc is pretty much the same for all cods. Best documented stuff you'll probably find from earlier cods. Or maybe BO3 since it actually officially supports modding.
Also don't forget about just studying the actual gscs BO2 runs off.
It's very good to find new stuff as well.
You'll find a dump for the decompiled gscs stickied in the BO2 modding section.
For example that other question you just posted here, "how to find out zombie kills", is solved in like a minute by just searching the word "kills" in patch_zm.
Personally I use "AstroGrep" to search for text inside the whole dump.
Hey, thx for your reply.
I found "kills" as well but it seems all I could relate was to global stats, not in the "match" itself.
I'll keep on digging but geez most part of the code is pretty tiresome to read!
Nice tips, thank you again!