Difference between revisions of "Exevent Dropc"

From Wiki
Jump to: navigation, search
(Example)
Line 25: Line 25:
 
</pre>
 
</pre>
  
{{footer}}
+
{{footer|*[[Exevent_Drag]]
 +
*[[Exevent_Dropg]]
 +
*[[Exevent_Droppd]]}}

Revision as of 08:12, 18 September 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.

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.


Note:
  • This command is only available from EUO 1.5
  • The x/y parameter is only available from EUO 1.5 TV 56
  • You shouldn't use Event Drag in connection with Exevent Dropg command or you'll end up with a ghost item on your cursor. That's why there is an Exevent Drag command


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