ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Alpha on October 21, 2012, 12:13:50 PM

Title: Question about Looting Gold / Items from Corpses...(Item Delays etc)
Post by: Alpha on October 21, 2012, 12:13:50 PM
How do you determine when the items on a freshly opened corpse are able to be moved?  I'm honestly not sure if items are created when a monster corpse is generated or only when someone opens that corpse.  I do know that if I open the corpse & attempt to move (loot) items too quickly after opening it I get the "You Must wait" message.   I've pretty much  always just added a  "wait 20" after opening a corpse to avoid this, but I'm curious if there's another way to go about it??   I tried scanning the "loot container" for the # of items present assuming that they are spawned in it, but it was ALWAYS instantly showing items in the "loot container" with 0 spawning delay.  Anyway.....   how do you guys do it?
Title: Re: Question about Looting Gold / Items from Corpses...(Item Delays etc)
Post by: manwinc on October 21, 2012, 12:50:33 PM
Typically, you wait for the #contid to change and for the #contsize to be that of a  corpse, after that has happened, I put a wait 20