Description
Wiki Description
Removes a form as a "filter" for ObjectReference.OnItemAdded(...) and ObjectReference.OnItemRemoved(...) events sent to this object. The filters are removed separately from the reference, any aliases, and any magic effects on the reference, so each will need to remove filters from themselves independently. If all filters are removed, the object will get events for everything again.
Documentation Comment
Remove an inventory event filter from this reference. Item added/removed events matching the
specified form (or in the specified form list) will no longer be let through.
Parameters
FormakFilter
CK Wiki Description
The filter to remove. Events related to this filter will no longer be sent to this object.
Examples
; We no longer want inventory events for gold (if we have other filters) - or we want all events (if no other filters are set)
RemoveInventoryEventFilter(Gold)Auto-Generated Example
Form myForm__akFilter
myObjectReference__toCallFunctionOn.RemoveInventoryEventFilter(myForm__akFilter)