Jump to content

Papyrus Help


Nekocatz

Recommended Posts

Hey Guys,

 

I'm having some small troubles with compiling a script fragment to be used in a quest. Ideally I'm trying to change the speakers class through the SKSE extension SetClass. My issue is that the class I'm trying to use is returned as undefined. I'm trying to use a default class CombatWarrior1H.

 

akspeaker.GetActorBase().SetClass(combatwarrior1h)

 

Starting 1 compile threads for 1 files...

Compiling "TIF__010012E0"...

Z:\My Games\The Elder Scrolls V Skyrim\Data\Scripts\Source\temp\TIF__010012E0.psc(19,34): variable CombatWarrior1H is undefined

No output generated for TIF__010012E0, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on TIF__010012E0

 

Thoughts?

Link to comment
Share on other sites

I'm not that new to modding was just unsure how to use properties within dialogue fragments ;/

 

I've already tried

 

class property combatwarrior1h auto

 

the return error

 

 

Starting 1 compile threads for 1 files...

Compiling "TIF__010012E0"...

Z:\My Games\The Elder Scrolls V Skyrim\Data\Scripts\Source\temp\TIF__010012E0.psc(19,0): no viable alternative at input 'class'

Z:\My Games\The Elder Scrolls V Skyrim\Data\Scripts\Source\temp\TIF__010012E0.psc(19,15): no viable alternative at input 'combatwarrior1h'

No output generated for TIF__010012E0, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on TIF__010012E0

Link to comment
Share on other sites

  • Recently Browsing   0 members

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