Hello everyone today i am going to show you guys something very simple but fun thing,
So today i found out that you can add a effect to your npc,
for example if you remember correctly in 5670+ when you upgrade your items level it will say something like this "Perfect"
well today i am going to show you how to do that AND how you can add your own text.
how is this gona help my server?
Well this will help your server get little more creative, and its very fun system to have.
here is a example,
[Only registered and activated users can see links. Click Here To Register...]
and here is how i added
[Only registered and activated users can see links. Click Here To Register...]
what this does is, every time i click on the npc it will say "Well Done"
but you dont have to do it that way.
you can do like this
[Only registered and activated users can see links. Click Here To Register...]
so when the player add the + it will say the text
but here is the fun part
you can also make a edit called Fail or something so if something goes wrong lets say the player dont have +5 stone so the npc will say Fail at the top.
its rly fun system and you it rly upgrade the quality of your npcs.
If you are lost make sure to check your Weapon Master npc and you will understand how it works .
well thats all for now, i hope you like the new npc style we can create.
Sorry for bad English, Please if you have a question feel free to ask.
So today i found out that you can add a effect to your npc,
for example if you remember correctly in 5670+ when you upgrade your items level it will say something like this "Perfect"
well today i am going to show you how to do that AND how you can add your own text.
how is this gona help my server?
Well this will help your server get little more creative, and its very fun system to have.
here is a example,
[Only registered and activated users can see links. Click Here To Register...]
and here is how i added
[Only registered and activated users can see links. Click Here To Register...]
what this does is, every time i click on the npc it will say "Well Done"
but you dont have to do it that way.
you can do like this
[Only registered and activated users can see links. Click Here To Register...]
so when the player add the + it will say the text
but here is the fun part
you can also make a edit called Fail or something so if something goes wrong lets say the player dont have +5 stone so the npc will say Fail at the top.
its rly fun system and you it rly upgrade the quality of your npcs.
If you are lost make sure to check your Weapon Master npc and you will understand how it works .
Code:
_String str = new _String(true);
str.UID = client.Entity.UID;
str.TextsCount = 1;
str.Type = _String.Effect;
str.Texts.Add("good"); // "good" is the folder name, you can find this folder in client/c3/effect/good
client.SendScreen(str, true);
Sorry for bad English, Please if you have a question feel free to ask.