Jump to content

Need help with scripting - copying hair model path


Recommended Posts

Hello, everyone!

 

I decided to attempt to create a mod which adds a wearable item which copies the player's current hairstyle, but I can't seem to get it to work. There doesn't seem to be an OBSE function which sets or gets a specific hair model's "biped path".

 

Here is my failed scripting if anyone wants to correct me:

 

ref currenthairstyle
ref hair2
ref amuletslot
ref amuletench

begin onAdd
set currenthairstyle to player.gethair
set hair2 to currenthairstyle.getmodelpath
copymalebipedpath hair2 aaaWigTest
copyfemalebipedpath hair2 aaaWigTest
end

 

 

Help would be most appreciated.

 

Edit: I changed "getmodelpath" to "getbipedmodelpath", but that didn't seem to work...

Edited by Guest
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...