Difference between revisions of "Exevent Dropg"

From Wiki
Jump to: navigation, search
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{command header|ExEvents}}
+
{{command header|ExEvent}}
  
 
{{body|Exevent Dropg {x} {y} [z]|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|#charPosZ]].}}
 
{{body|Exevent Dropg {x} {y} [z]|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|#charPosZ]].}}
  
  
{{note|This command is only available from EUO 1.5}}
+
{{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}}
{{note|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 ====
 
==== Example ====
 
<pre>
 
<pre>
finditem %trash C_ , #backackid
+
finditem %trash C_ , #backpackid
if #findkind &lt;&gt; -1
+
if #FINDCNT > 0
 
{
 
{
Exevent Drag #findid
+
Exevent Drag #findid #findstack
 
wait 10
 
wait 10
Exevent Dropg #chaposx #charposy #charposz
+
Exevent Dropg #charposx #charposy #charposz
 
wait 10
 
wait 10
 
}
 
}
Line 23: Line 22:
 
</pre>
 
</pre>
  
 
+
== Related Commands ==
{{footer}}
+
{| style="background:gainsboro; color:black; border: 2px #aaa solid;"
 +
| Width=250px align=center | [[exevent]]
 +
|}
 +
=See Also=
 +
{{ExEvent}}

Latest revision as of 16:08, 6 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

ExEvent

  • ExEvent commands send packet information directly to the Ultima Online server in order to perform actions.
exevent Drag Drags an object using packets
exevent Dropc Drops an object in a given container using packets
exevent Droppd Drops wearable items into the paperdoll
exevent Dropg Drops an object on the ground using packets
exevent Popup Opens the context menu of an item/npc
exevent RenamePet Renames a pet
exevent SkillLock Changes the skill locks on the different skills
exevent StatLock Changes the stat locks on the different stats