Talk:RemoveMeIR

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Object script bug?[edit source]

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[edit source]

; Within an object script:
begin GameMode
   RemoveMeIR
end

This does work[edit source]

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