Jump to content

Photo

Using InventoryEventFilters to exclude

papyrus events scripts inventory skyrim

  • Please log in to reply
2 replies to this topic

#1
Cecell

Cecell

    Faithful poster

  • Premium Member
  • 1,583 posts
In Skyrim SE, I'm currently using if akItem == someForm to exclude a single item inside an OnItemAdded event.
Is there a way to use an InventoryEventFilter to only exclude a single item, in essence inverting it?

#2
IsharaMeradin

IsharaMeradin

    The Pale Redguard

  • Members
  • PipPipPipPipPip
  • 10,399 posts

Unfortunately, no.  At least not that I am aware of.

 

Well, I suppose, technically, you could use one or more form lists that contain every conceivable item that you do want to work with.  But then you'd have to figure out some way to account for mod added items.  And making patches to work with multiple mods is a royal PITA. Not to mention potentially confusing for the end user.



#3
Cecell

Cecell

    Faithful poster

  • Premium Member
  • 1,583 posts
(sigh) kinda what I figured. Ok thank you!





Also tagged with one or more of these keywords: papyrus, events, scripts, inventory, skyrim

IPB skins by Skinbox
Page loaded in: 0.997 seconds