Jump to content

[Share]Random npc


marwan

Recommended Posts

Hello guys I have something new to share

Random npc when you talk to npc shows random string when you talk again show another (it depends)

I just made it with string just to show you the idea you can use it in other things like random image

its is so simple just using Random() class

 

just make a new npc with type  L2Random

 

here the code : http://pastebin.com/dGUQXCB3

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock