Difference between revisions of "Exevent Dropc"

From Wiki
Jump to: navigation, search
m (Description: fixed formatting of note, removed extra spaces,)
Line 14: Line 14:
 
==== Example ====
 
==== Example ====
 
<pre>finditem %gold G_2
 
<pre>finditem %gold G_2
if #findkind &lt;&gt; - 1
+
if #findkind &lt;&gt; -1
 
{
 
{
 
Exevent Drag #findid #findstack
 
Exevent Drag #findid #findstack

Revision as of 16:35, 21 August 2005

Exevent Dropc

ExEvents

Synopsis

Exevent Dropc {container id}

Description

The Exevent Dropc command drops obects you drag using the Exevent Drag command to any container you want.

Note: This command is only available from EUO 1.5.

You shouldn't use Event Drag in connection with Exevent Dropc 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

click event Drag Exevent Drag Exevent Dropg

Main Page Documentation

Exevents