Difference between revisions of "Exevent Dropc"

From Wiki
Jump to: navigation, search
(See Also)
m (Description: fixed formatting of note, removed extra spaces,)
Line 6: Line 6:
  
 
=== Description ===
 
=== Description ===
The [[Exevent Dropc]] command drops obects you drag using the [[Exevent Drag]] command to any container you want.
+
The <code>Exevent Dropc</code> 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.
+
 
+
  
 +
''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 ====
 
==== Example ====
<pre>
+
<pre>finditem %gold G_2
findite %gold G_2
+
 
if #findkind &lt;&gt; - 1
 
if #findkind &lt;&gt; - 1
 
{
 
{
Line 28: Line 23:
 
halt
 
halt
 
</pre>
 
</pre>
 
 
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|

Revision as of 14:19, 20 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