Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class UnkNiClass {
- public:
- MEMBER_FN_PREFIX(UnkNiClass);
- DEFINE_MEMBER_FN(SetNiNodeTexture, UInt32, 0x006A4300, NiAVObject * geometry, BGSTextureSet * textureSet);
- static UnkNiClass * GetSingleton(void)
- {
- return *((UnkNiClass **)0x01B375F8);
- }
- };
- BGSTextureSet * argonianHeadTexture = DYNAMIC_CAST(LookupFormByID(0x69CE0), TESForm, BGSTextureSet);
- BSFixedString headName("FemaleHeadNord");
- NiAVObject * headNode = node->GetObjectByName(&headName.data);
- if(headNode) {
- CALL_MEMBER_FN(UnkNiClass::GetSingleton(), SetNiNodeTexture)(headNode, argonianHeadTexture);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement