Jump to content

Perk - Entry Point - Condition "HasKeyword" list check against other list


Drullo321

Recommended Posts

Hello there,

 

I have a Perk with an Entry Point for "Modify Tempering Health" and would like to check the subjects keyword list against another (form?) list of keyword if there is any match and return true. The other list may contain up to ~35 keywords. I've done this before for very simple checks with 1-3 keywords that won't change by simply using the provided item condition check "HesKeyword"==xyz.

 

I could simply add those 35 keywords as OR conditions on the item but that is clunky, inelegant, prone to error and poorly maintainable. So my basic idea was to create a (form) list containing keywords and somehow check against this list. However i couldn't find a) a condition that would meet this criteria or b) a place to attach a small papyrus script/fragment. Maybe I am doing it wrong or there really is no other way.

 

May someone tell me how I could solve this issue. Seems I'm the first, as Google couldn't find any other person with this problem in the last 10 years of Skyrim modding :mellow: .

Link to comment
Share on other sites

  • Recently Browsing   0 members

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