Jump to content

i'm about to tear out my hair. compiling issues


Recommended Posts

I've been trying to get my custom voiced follower to follow me

scripted her following me and dismissing her but when i got to open inventory i ran into this problem

Compiling "TIF__08045CFB"...
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__08045CFB.psc(9,0): variable Friend is undefined
C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__08045CFB.psc(9,7): none is not a known user-defined type
No output generated for TIF__08045CFB, compilation failed.
I've extracted the scripts from the rar folder but even still i get this issue
Thanks in advance for any assistance
Link to comment
Share on other sites

The compiler is telling you that you have used a variable in your script without defining what type of variable it is, so it doesn't know what it means.

 

If you post your actual script, we might be able to tell you more.

Friend.OpenInventory()

i'm trying to make a custom voiced follower

 

 

Edited by courcyplayer
Link to comment
Share on other sites

The compiler is telling you that you have used a variable in your script without defining what type of variable it is, so it doesn't know what it means.

 

If you post your actual script, we might be able to tell you more.

Friend.OpenInventory()

i'm trying to make a custom voiced follower

Link to comment
Share on other sites

Friend needs to be a variable with type Actor. And the variable needs to actually be pointing to an actual actor, or you'll then get a run-time error of being unable to call OpenInventory on a none.

 

It appears you pulled that from the example on the wiki. All that example does is show the syntax.

Edited by Rasikko
Link to comment
Share on other sites

Friend needs to be a variable with type Actor. And the variable needs to actually be pointing to an actual actor, or you'll then get a run-time error of being unable to call OpenInventory on a none.

 

It appears you pulled that from the example on the wiki. All that example does is show the syntax.

Ok thanks. not sure i still understand what to do but i'll try and figure it out

Link to comment
Share on other sites

  • Recently Browsing   0 members

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