[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "Talk:Drop"
Jump to navigation
Jump to search
no edit summary
imported>ABO (added questions) |
imported>DragoonWraith |
||
Line 1: | Line 1: | ||
In conjunction with [[GetFirstRef]], this function might be used for a way to walk through individual items in an inventory. Drop the item, then use [[GetFirstRef]] to get the dropped item/stack's reference. Make sure to pick up the items with an [[Activate]] after manipulating the items, to keep the item's script from running. If I'm not mistaken, this is effectively how [[:Category:RefStuff|RefStuff]] works, but doesn't require the plug-in. This still has the same limitations as '''RefStuff''', mainly that not every function has been modified to work on references (i.e., [[SetEquippedWeaponPoison]]).--[[User:Haama|Haama]] 13:24, 2 June 2008 (EDT) | In conjunction with [[GetFirstRef]], this function might be used for a way to walk through individual items in an inventory. Drop the item, then use [[GetFirstRef]] to get the dropped item/stack's reference. Make sure to pick up the items with an [[Activate]] after manipulating the items, to keep the item's script from running. If I'm not mistaken, this is effectively how [[:Category:RefStuff|RefStuff]] works, but doesn't require the plug-in. This still has the same limitations as '''RefStuff''', mainly that not every function has been modified to work on references (i.e., [[SetEquippedWeaponPoison]]).--[[User:Haama|Haama]] 13:24, 2 June 2008 (EDT) | ||
== Drop compared to just dropping == | |||
The article does not answer the following questions; | The article does not answer the following questions; | ||
Is the item's health/script vars/etc preserved when it is dropped? | *Is the item's health/script vars/etc preserved when it is dropped? | ||
Under what conditions is the item's onDrop block called/not called? | *Under what conditions is the item's onDrop block called/not called? | ||
--[[User:ABO|ABO]] 15:45, 1 February 2009 (EST) | --[[User:ABO|ABO]] 15:45, 1 February 2009 (EST) | ||
:According to the article, it would appear that the answers are "yes" and "never?" - the latter seems uncertain, however. But I'm basing this entirely on the article that you claim does not answer those questions, a statement which confuses me since I see both issues addressed in the Note section... | |||
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 19:01, 1 February 2009 (EST) | |||
== Reference to the Dropped Item ? == | == Reference to the Dropped Item ? == |