Difference between revisions of "Exevent Dropg"

From Wiki
Jump to: navigation, search
m (adding related commands)
(Example)
Line 12: Line 12:
 
<pre>
 
<pre>
 
finditem %trash C_ , #backpackid
 
finditem %trash C_ , #backpackid
if #findkind &lt;&gt; -1
+
if #FINDCNT > 0
 
{
 
{
 
Exevent Drag #findid #findstack
 
Exevent Drag #findid #findstack
Line 21: Line 21:
 
halt
 
halt
 
</pre>
 
</pre>
 
  
 
== Related Commands ==
 
== Related Commands ==

Revision as of 10:17, 1 September 2007


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_ , #backpackid
if #FINDCNT > 0
{
	Exevent Drag #findid #findstack
	wait 10
	Exevent Dropg #charposx #charposy #charposz
	wait 10
}
halt

Related Commands

exevent

See also

Main Page Documentation