Jump to content

Script Extender SetModelPath


GeneralGarand1

Recommended Posts

The CS wiki is not very descriptive in giving an example of how this function works. I'm trying to change one model to another and was told this was the function to use. However I'm not exactly sure how to use it exactly and if anyone could provide an example of some sort, that would be much appreciated! Thanks! :)
Link to comment
Share on other sites

This page seems pretty clear on the use of that function.

 

Let's say you had a container reference you've saved to a variable named ContainerRef:

 

ContainerRef.SetModelPath "new path to model relative to oblivion\data\meshes"

ContainerRef.Disable

ContainerRef.Enable

 

That would change the container's model path and then disable and enable it to refresh it in game so the new model is seen.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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