|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jan 2004
Posts: 191
|
I'm looking for the item event that fires when the item is added to a pack. I've overridden the OnDroppedInto and the OnDroppedOnto.
I'm also trying to override the OnParentDeath, but it never fires. I'm guessing that this is because the Parent is changed from the mobile that picked it up to the backpack that it is contained within. If this is the case, how can I figure out when the Mobile that contains the item dies? Containing the item does not neccessarily mean have it equiped, but it could be in their backpack, or sub backpacks, as well. |
|
|
|
|
|
#3 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 28
Posts: 4,886
|
Just to be clear, this isnt an event, it is just a method.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
Join Date: Jan 2004
Posts: 191
|
Coundn't get the OnParentDeath to work as the item's parent was the player's backpack, not the player. But, there was an OnInventoryDeath that did the trick.
I know they aren't true events, but they are circumstantial ones. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|