Talk:HasBeenPickedUp
Jump to navigation
Jump to search
HasBeenPickedUp vs GetContainer[edit source]
Is item.HasBeenPickedUp == 1 faster than item.GetContainer == 0 ? They both serve the same purpose in slightly different ways. One should be faster though.
--Moses 15:21, 8 May 2010 (EDT)
- My guess is that HasBeenPickedUp can only run on references and GetContainer can only run on inventory objects. I think a reference can still exist for a few frames even though it has been activated and should be placed inside a container. This function can be used to detect this. Note that I haven't tested this. To get a definitive answer you could ask in the OBSE thread on the forums.
- --Qazaaq 04:29, 9 May 2010 (EDT)