Dancing Hoskuld
Deity
In all the examples I have seen when a method is defined for a class the first parameter is self but when the method is called this parameter is not passed. However when I wrote some code PYTHON tells me I need to pass the instance to the method?
Just in case it helps I have attached the code. It is for BUG 3.6.
Code:
TypeError: unbound method setDefaultSubdueAnimalChance() must be called with dhzUnitEnslavement instance as first argument (got int instance instead)
Just in case it helps I have attached the code. It is for BUG 3.6.
. I am going to have to think on what my question actually was because I took what you said above changed some code and now none of the functions exist.