Jump to content

SKSE GetKeywords() Error.


Recommended Posts

Posted

Getting this error:

 

[skyrimse]: cannot call the member function GetKeywords alone or on a type, must call it on a variablePapyrus.

 

When trying to run this line of code: 

Keyword[] kws = Armor.GetKeywords()

It's confusing because I'm pretty sure I am calling it on a variable.

Posted
7 hours ago, imnewhere86 said:

Getting this error:

 

[skyrimse]: cannot call the member function GetKeywords alone or on a type, must call it on a variablePapyrus.

 

When trying to run this line of code: 

Keyword[] kws = Armor.GetKeywords()

It's confusing because I'm pretty sure I am calling it on a variable.

 

Armor is also a type name, name your Armor variable different, e.g.

 

Armor myArmor = ...

myArmor.GetKeyWords()

 

Posted
30 minutes ago, nopse0 said:

 

Armor is also a type name, name your Armor variable different, e.g.

 

Armor myArmor = ...

myArmor.GetKeyWords()

 

oh whoops i forgot lmao

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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