Talk:RemoveMeIR

From the Fallout3 GECK Wiki
Revision as of 19:05, 8 June 2015 by imported>RabbitB (Documenting possible bug.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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