Difference between revisions of "UO.Popup"

From OpenEUO
Jump to: navigation, search
(changed to reflect current behavior)
 
Line 1: Line 1:
 
  UO.Popup(nid[,nx,ny])
 
  UO.Popup(nid[,nx,ny])
UO.Popup command opens the context menu of an item/npc with id nid at location nx/ny.
+
UO.Popup command opens the context menu of an item/npc with id nid at location nx/ny.  If the optional location is not specified then the popup will open at screen position 0/0.
 
+
  UO.Popup(nid[,nentry])
+
 
+
If the optional location is not specified then the popup will open at screen position 0/0. Otherwise the entry (index starting at 1) will be chosen without even displaying the popup. (The [, nentry] option does not currently work on OSI shards).
+
  
 +
See also:
 
[[UO.RenamePet]]
 
[[UO.RenamePet]]

Latest revision as of 06:22, 27 November 2012

UO.Popup(nid[,nx,ny])

UO.Popup command opens the context menu of an item/npc with id nid at location nx/ny. If the optional location is not specified then the popup will open at screen position 0/0.

See also: UO.RenamePet