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"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Shademe
(Reference to the Dropped Item ?)
imported>DragoonWraith
Line 4: Line 4:


How do I get an reference to an item being dropped from an actor ? -- [[User:Shademe|shademe]] 05:22, 13 September 2008 (EDT)
How do I get an reference to an item being dropped from an actor ? -- [[User:Shademe|shademe]] 05:22, 13 September 2008 (EDT)
:With OBSE, you could use [[GetFirstRef|GetFirst]]/[[GetNextRef|NextRef]] to find it. Otherwise... I don't think there is any good way to do so.
:[[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>]] 09:31, 13 September 2008 (EDT)

Revision as of 08:31, 13 September 2008

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 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).--Haama 13:24, 2 June 2008 (EDT)

Reference to the Dropped Item ?

How do I get an reference to an item being dropped from an actor ? -- shademe 05:22, 13 September 2008 (EDT)

With OBSE, you could use GetFirst/NextRef to find it. Otherwise... I don't think there is any good way to do so.
Dragoon Wraith TALK 09:31, 13 September 2008 (EDT)