Help with SendDialogGump()

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Gnafu
Grandmaster Poster
Posts: 136
Joined: Thu Feb 02, 2006 7:29 am

Help with SendDialogGump()

Post by Gnafu »

In the docs: "the return value is a dictionary."
but when I try to use .keys() or .size() they don't work ("Method id '56' (keys) not found", "Method id '48' (size) not found")
So I used TypeOf(retkey), retkey is the return value of SendDialogGump, and i got a Unknown.
If I print the retkey with SendSysMessage(who, "result -> "+retkey); I get a <inthash>.

How can I manage it?

Thank you in advance
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Help with SendDialogGump()

Post by *Edwards »

I would suggest you to look to the exemples given into the gump package of distro097. That's how I've learn the methods to use gumps. Atleast, it will be faster for you to understand than waiting for an answer here... I mean, you'll only get 5% of all you can do. Visit the distro, awesome work.
Gnafu
Grandmaster Poster
Posts: 136
Joined: Thu Feb 02, 2006 7:29 am

Re: Help with SendDialogGump()

Post by Gnafu »

Thank you, I solved buy using .keys instead of .keys() ;)
Post Reply