Tested new build. Works correctly.
And i would like to continue the discussion about item IDs.
There is parameter m_AttributeManager.m_Item.m_iItemDefinitionIndex, which stores economy ID of an item. In comparison with traditional weapon ID, economy ID is always unique. The issue I encountered with this approach: golden knife does not have economy ID.
Post Python examples to help other users.
I don't know about the IDs, but just thought I would mention that you can directly use Weapon.item_definition_index. Also, I just noticed that you was printing __dict__. However, if you want to print the dynamic attributes of the entity you must use dir(weapon).
Who is online
Users browsing this forum: No registered users and 15 guests