Difference between revisions of "Exevent Dropc"

From Wiki
Jump to: navigation, search
(Adding EUO 1.5 TV 56 news)
(Example)
Line 24: Line 24:
 
halt
 
halt
 
</pre>
 
</pre>
 
{{footer}}
 

Revision as of 08:57, 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