Jump to content

OBSE SetEyes Function Problems


Pygan

Recommended Posts

I'm making my own custom vampire mod and I want the player's eyes to change whenever he is turned. I'm trying to use the OBSE SetEyes Function but i'm not sure exactly how to use it.

I figured Player.SetEyes "Name of Eyes" would work but the CS gives me an error saying "Invalid Inventory object "Name of Eyes" for parameter body data. I don't know how to get it to work but if someone

could tell me i would appreciate it very much.

Link to comment
Share on other sites

I'm making my own custom vampire mod and I want the player's eyes to change whenever he is turned. I'm trying to use the OBSE SetEyes Function but i'm not sure exactly how to use it.

I figured Player.SetEyes "Name of Eyes" would work but the CS gives me an error saying "Invalid Inventory object "Name of Eyes" for parameter body data. I don't know how to get it to work but if someone

could tell me i would appreciate it very much.

 

Apparently the SetEyes function requires a reference instead of an object id (so "set myRef to ObjectID" and then player.seteyes myref).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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