Jump to content

SetOutfit Script - Help Needed.


Akarsil

Recommended Posts

What I'm wondering how to do is managing the dialogue to enforce the follower to change the current outfit to another (Predefined)
Such as with branching dialogue. Mind I'm the definition of newbie at scripting, even though I've read and watched videos for hours with little understanding of the subject as result.

- Greeting (Regarding outfit change as a dialogue option)
- NPC Response
- Options between Outfits ( Outfit is chosen and dialogue ends, SetOutfit script changes outfit )

I've readied my branching dialogue and everything on that part is functioning ingame, but after hours of struggle I've simply been unable to get a SetOutfit script to compile, I've tried all sorts of different methods, from different sources, but only found vague answers such as "Just write akspeaker.SetOutfit(Outfit) and compile" Or something along those lines.
The problem is I constantly get errors preventing me from compiling.

By the standard "akspeaker.SetOutfit(Outfit)/akspeaker.SetOutfit(None) I get this result.

Starting 1 compile threads for 1 files...
Compiling "TIF__02009F0B"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(0,0): unable to locate script TopicInfo
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(6,36): unknown type objectreference
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(7,31): cannot convert to unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(7,31): cannot cast a objectreference to a actor, types are incompatible
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(7,6): unknown type actor
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(9,20): variable Outfit is undefined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(9,10): actor is not a known user-defined type
No output generated for TIF__02009F0B, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__02009F0B

Just by compiling a blank space, I get this result:
Starting 1 compile threads for 1 files...
Compiling "TIF__02009F0B"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__02009F0B.psc(0,0): unable to locate script TopicInfo
No output generated for TIF__02009F0B, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__02009F0B

To my fairly basic understanding, I'm missing a source script named TopicInfo, right? I have tried verifying the integrity of both the maingame and the toolset itself, which neither found any missing files.

Thank you in advance for you time and help.
Edited by Akarsil
Link to comment
Share on other sites

Yes, I extracted the actual Rar/Zip file into the Script/Source folder from my Skyrim shoulder, but my Topic Info script is still missing. :/

( And I did restart the Creation Kit after extracting. )

Edited by Akarsil
Link to comment
Share on other sites

Nevermind, I found my solution to the problem and made a little workaround, For anyone needing help with this in the future, you can simply send me a message privately and I answer as quickly as possible.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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