Difference between revisions of "Exevent Dropg"

From Wiki
Jump to: navigation, search
m (Example)
Line 14: Line 14:
 
if #findkind <> -1
 
if #findkind <> -1
 
{
 
{
Exevent Drag #findid
+
Exevent Drag #findid #findstack
 
wait 10
 
wait 10
 
Exevent Dropg #charposx #charposy #charposz
 
Exevent Dropg #charposx #charposy #charposz

Revision as of 05:33, 9 October 2005


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 #findstack
	wait 10
	Exevent Dropg #charposx #charposy #charposz
	wait 10
}
halt


See also

Main Page Documentation