Talk:RemoveMeIR

From GECK
Jump to: navigation, search

Object script bug?

When RemoveMeIR is called by itself inside an object script, it apparently does nothing, despite the example showing otherwise. Is this a known bug? Calling RemoveMeIR on an inventory reference (such as one obtained through GetInvRefsForItem) does work.

This doesn't work

; Within an object script:
begin GameMode
   RemoveMeIR
end

This does work

; Within an object script
; invRef obtained through myContainer.GetInvRefsForItem MyItem
begin GameMode
   invRef.RemoveMeIR
end