Jump to content

[LE] Is it bad to place scripts on the player?


corrado33

Recommended Posts

Have a function on the script where you want to change the states then call that function from some other script.

 

 

GotoState() is an available function in any script and can be externally accessed.

 

EDIT: I found what I was thinking of, but on checking it I'm not sure how useful it will be to you. The person was trying to execute a swap of their modded ingredients, but only while crafting, in order to avoid breaking alchemy, and I went with an inventory filter solution. Still, on the offchance: https://forums.nexusmods.com/index.php?/topic/6580351-need-help-speeding-up-my-script/page-3

 

I thought about calling the function from another script, but wasn't sure it would work. Thanks both of you! :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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