In short: I want to check what kind of kit a kitObject is; how would I go about this? Let's say, just for ease of reply, that this is my current code:
Code: Select all
import bf2.PlayerManager
Example = bf2.PlayerManager.Player(0)
Examplekit = Example.getKit()
#pseudocode begins here
name = Examplekit.magicalFunctionThatRetrievesKitname()
print nameIn case you're wondering, I'm working from this refsheet: Object Reference - BF2 Technical Information Wiki
Is there a better, PR-centric ref somewhere?
