Is there a way via scripting to remove keywords from items?

Post » Thu Feb 06, 2014 9:55 am

Is there a way via scripting to remove keywords from items please?

In a certain controlled situation, I'd like to be able to remove some keywords from items without having to alter the actual weapon or armor stat itself.

I see some functions from SKSE and vanilla: GetNthKeyword, GetKeyword, GetNumKeyword, HasKeywordString, HasKeyword etc.. basically a lot of gets but no set or remove keyword.

Trying to change and/or remove keywords on the fly to include all modded items too. I could really use some help on this please.

Thanks,

-Mush-

User avatar
Prohibited
 
Posts: 3293
Joined: Tue Jun 12, 2007 6:13 am

Post » Thu Feb 06, 2014 3:50 pm

CK added keywords can't be removed, no. The possibility of changing keywords (which could effectively work to "remove" them temporarily) was discussed in SKSE development threads before the recent beta release, but I am guessing PLB decided it was not safe enough to edit them since the function wasn't included.

User avatar
Richard Thompson
 
Posts: 3302
Joined: Mon Jun 04, 2007 3:49 am

Post » Thu Feb 06, 2014 12:23 pm

Appreciate the reply. Thanks. I'll see if I'm able to come up with a workaround.

User avatar
Brian LeHury
 
Posts: 3416
Joined: Tue May 22, 2007 6:54 am


Return to V - Skyrim