== I'm not really sure about this function. This function used every time you try to get dropdown menu(e.g. a right click on player's icon or nickname in the chat). In general it renders a dropdown menu.
Parameters[ | ]
dropdownMenu[ | ]
unknown,
which[ | ]
name of the menu (e.g. SELF)
unit[ | ]
unknown
name[ | ]
unknown
userData[ | ]
unknown
Also[ | ]
Also inside of it can be used global parameter UIDROPDOWNMENU_MENU_LEVEL - which shows the level of dropdown menu (e.g. 1,2,3,...)
Example[ | ]
You can rewrite it if you want to create some other reaction. For example:
function MyUnitPopop (dropdownMenu, which, unit, name, userData)
return false
end
UnitPopop_ShowMenu = MyUnitPopop
And after that no dropdown menu appears.
Other[ | ]
--++Simbioticgirl (Kano)++--