courcyplayer Posted April 9, 2018 Share Posted April 9, 2018 I've been trying to get my custom voiced follower to follow mescripted her following me and dismissing her but when i got to open inventory i ran into this problemCompiling "TIF__08045CFB"...C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__08045CFB.psc(9,0): variable Friend is undefinedC:\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 typeNo 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 More sharing options...
Deleted3897072User Posted April 9, 2018 Share Posted April 9, 2018 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. Link to comment Share on other sites More sharing options...
courcyplayer Posted April 10, 2018 Author Share Posted April 10, 2018 (edited) 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 April 10, 2018 by courcyplayer Link to comment Share on other sites More sharing options...
courcyplayer Posted April 10, 2018 Author Share Posted April 10, 2018 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 More sharing options...
Evangela Posted April 10, 2018 Share Posted April 10, 2018 (edited) 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 April 10, 2018 by Rasikko Link to comment Share on other sites More sharing options...
courcyplayer Posted April 10, 2018 Author Share Posted April 10, 2018 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 More sharing options...
Deleted3897072User Posted April 10, 2018 Share Posted April 10, 2018 I'm guessing that you have entered that single line into a fragment on a dialogue topic. If so, try replacing the word 'Friend', which means nothing to the compiler, with 'akSpeaker', which does. In the context of dialogue fragments, it means the NPC who is doing the talking. Link to comment Share on other sites More sharing options...
Recommended Posts