Difference between revisions of "Exevent Dropg"

From Wiki
Jump to: navigation, search
(See Also)
Line 16: Line 16:
 
==== Example ====
 
==== Example ====
 
<pre>
 
<pre>
findite %trash C_ , #backackid
+
finditem %trash C_ , #backackid
if #findkind &lt;&gt; - 1
+
if #findkind &lt;&gt; -1
 
{
 
{
 
Exevent Drag #findid
 
Exevent Drag #findid

Revision as of 16:36, 21 August 2005

Exevent Dropg

ExEvents

Synopsis

Exevent Dropg {x} {y} [z]

Description

The Exevent Dropg command drops obects you drag using the Exevent Drag command to the given ground coordinate. If no Z coordinate is specified, the default will be #charPosZ.


NOTE

  • This command is only available from EUO 1.5.
  • 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 %trash C_ , #backackid
if #findkind <> -1
{
	Exevent Drag #findid
	wait 10
	Exevent Dropg #chaposx #charposy #charposz
	wait 10
}
halt


See Also

click event Drag Exevent Drag Exevent Dropc

Main Page Documentation

Exevents