![]() |
Mouse-menu NPC
1 Attachment(s)
I made this mouse-menu NPC. It might be a bit longer than others, but i made it in such a way that someone can easily edit. Note: i might give this to Valikorlia or the new G2K1. Try this NPC out as much as you can, because it can prove to be very funny ;P
|
Re: Mouse-menu NPC
Quote:
''No Not really'' - After clicking trade When that is the answer to: ''Aw, sorry to hear that! Anything I can do about it...?'' |
I don't understand what you're saying there =\
|
I don't like it at all, sorry, prehaps you should learn more advanced methods so you can shorten your script and make it seem more professional and advanced, it's a good concept but it could be done better I think
|
You can't help it if you don't like it ^^
But what for advanced methods do you suggest? |
Quote:
changeimgcolors 10,1,1,1,1; changeimgcolors 11,1,1,1,1; changeimgcolors 12,1,1,1,1; changeimgcolors 13,1,1,1,1; changeimgcolors 14,1,1,1,1; can be made into one line with a for loops |
Quote:
|
Quote:
|
Bug (in steps)
1. right click, choose talk 2. choose bad (this step can be skipped and bug still have the same effect) 3. when options appear, right click again 4. right click one more time if menu doesn't appear 5. choose an option |
Ah yes i see what the problem is. Just add "this.menu=1" behind the if (leftmousebutton)
|
If only I could find my old mouse menu
It calls another npc in the weaponlist depending on what button you click the buttons can be added and removed in a server string and they wouldn't display unless you had the corresponding npc. |
That is very good (sorry for reviving old threads) i love to see your new stuff, it's really awesome, and heh new val is coming, with the worldmap, and tileset, so i suggest to try to get a job there, and make it a little better, and get it up ^ ^
|
Quote:
|
Erm, i don't think he's from Val :/
But i'm not joining any Pw's - don't like it to much, i'm busy too. Learning C++ |
Dude! He stole that script from someone else on here, I remember seeing it once like 4 months ago in a old old post from like 2001 :-/ ill see if i can find aha
|
Quote:
|
haha, I have a feeling it might be a different script XD
|
1 Attachment(s)
Quote:
|
1 Attachment(s)
:o buahaha leave it to me to break the npc
|
I never even get the choices "Good, Bad"....
|
Quote:
omi... right click him and then click "talk" |
1 Attachment(s)
Your script could still use some improvement
1.) formatting 2.) Your detection for when someone clicks on an option. You would be better off running a for loop and checking for which row you are on all in one statement, instead of running a seperate statement each time. 3.) You could possibly use better detection for when the mouse is over a row. There's more advanced features for doing that now. See my example I made to see examples of two and three. If you want me to explain how some parts work I will be glad to do so. Please excuse any possible errors in the script, I made it in a rush |
Quote:
I made something like this for N-Pulse like... 3-4 weeks ago... Maybe longer... but it was a staff tool. They would right click the player, and a few options would be listed. ie: freezplayer, unfreezeplayer, kick, cancel, or whatever... It was alot shorter I think, I don't remember. I have to get the script and look at it... i might just post it o.o |
Quote:
|
Quote:
|
oh yea, i forgot this post was like forever ago old :-D ok maybe only like 3 months but still nm about stealing the script :-D lol
|
Quote:
|
| All times are GMT +2. The time now is 11:33 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.