ScriptUO
Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: JustAnotherFace on April 17, 2010, 11:46:47 AM
-
I seem to be having problems with ExEvent Popup. The problem is that it doesnt popup!! lol. I can stand in brit library and run the code below, it executes the code and halts, but it does not popup the npc's donation menu.
npc_loop:
finditem IS G_8
if #findcnt < 1
return
event property #findid
if mage notin #property
{
ignoreitem #findid
goto npc_loop
}
set %npc #findid
wait 10
exevent popup %npc
halt
I can actually change the code to something like the one below and I can manually force the donation menu to popup
npc_loop:
finditem IS G_8
if #findcnt < 1
return
event property #findid
if mage notin #property
{
ignoreitem #findid
goto npc_loop
}
set %npc #findid
wait 10
set #lobjectid %npc
event macro 17
;exevent popup %npc
halt
So, what is the deal?? Anyone have any ideas?
Thanks,
JaF
-
ok, I just noticed that it actually opens an "open paperdoll" menu. (was hidden by my options bar at the top). But, even when it opens this menu, the only option is open paperdoll, which of course does me no good.
Is there something that I am missing? Have they changed this?
JaF
-
Ok, well maybe its just been so long since I used Exevent Popup on an NPC that I just forgot how it works. Or maybe it changed since the last time that I used it. Or maybe Im trying to use it incorrectly..... Either way, I will just use the second bit of code that I posted that DOES work.
Unless someone can show me how to make the popup do what I want.
Thanks,
JaF
-
You want to last object the library donators to pull up there donation menus.
check out my tmap donator here.http://www.scriptuo.com/index.php?topic=4785.0 (http://www.scriptuo.com/index.php?topic=4785.0)
-
You want to last object the library donators to pull up there donation menus.
check out my tmap donator here.http://www.scriptuo.com/index.php?topic=4785.0 (http://www.scriptuo.com/index.php?topic=4785.0)
Thats what I had already figureded out in the second block of code above. Thanks for the input, but I still have the question about Exevent popup.
JaF
-
Thats what I had already figureded out in the second block of code above. Thanks for the input, but I still have the question about Exevent popup.
it's for context menus like on bags of sending and buying selling to npc's
-
Yeah, exevent popup does the same thing as left clicking it once to bring up its menu.
-
Like I said, been a long time since I used it... I thought I remembered being able to use it to open the donation menu. I guess my memory is failing me in my old age! Thanks for the help guys!!
JaF