Difference between revisions of "Exevent Dropc"
From Wiki
Cannedboot (Talk | contribs) (combining stacks) |
|||
Line 1: | Line 1: | ||
{{command header|ExEvents}} | {{command header|ExEvents}} | ||
− | {{body|Exevent Dropc {container id} [x y]|The ''Exevent Dropc'' command drops obects you drag using the [[Exevent Drag]] command to any container you want. | + | {{body|Exevent Dropc {container id} [x y]|The ''Exevent Dropc'' command drops obects you drag using the [[Exevent Drag]] command to any container you want. (Container can be closed or within another container!). Also a beetleid (not beetlepackpackid) works. |
If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location. | If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location. |
Revision as of 23:38, 20 October 2005
Synopsis
Exevent Dropc {container id} [x y]
Description
The Exevent Dropc command drops obects you drag using the Exevent Drag command to any container you want. (Container can be closed or within another container!). Also a beetleid (not beetlepackpackid) works.
If you don't specify x/y then the item will be dropped on the bag, otherwise it will be dropped into the bag at the specified location.
If you want to combine the stack being dragged with another stack of the same item type, just pass the ID of the destination stack as {container id}.
Note: |
|
Example
finditem %gold G_2 if #findkind <> -1 { Exevent Drag #findid #findstack wait 10 Exevent Dropc #backpackid wait 10 } halt
See also
Main Page | Documentation |