Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Constructing Object Beta

Pre-release
Pre-release

Choose a tag to compare

@Matt-Hurd Matt-Hurd released this 08 Apr 04:03
· 92 commits to master since this release

Known bugs: Using a constructed object crashes for me every time. There might be some cases where it works, so I am still releasing this for if anyone wants to play around with it.

Example:

tree = bl2sdk.UObject.FindObjectsContaining("PlayerSkillTree ")[-1]
branch = tree.Branches[1]
definition = branch.Definition
obj = bl2sdk.ConstructObject(Class=definition.Class, InOuter=definition.Outer, SetFlags=1, Template=definition)