SphereCommunity
NPC brain / skill - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: NPC brain / skill (/Thread-NPC-brain-skill)



NPC brain / skill - kn4tseb - 05-21-2014 08:52 AM

Need help with this, if i create a new skill, is it possible to add this skill to a e_trainer NPC, so it can be trained to 30.0 as usual with normal skills?

and if it is possible, how would it be?

thanks in advance ^^


RE: NPC brain / skill - darksun84 - 05-22-2014 08:56 PM

Technically yes,
a npc can train you a custom skill, but this skill will not appear when the player says "train".
Instead, if the player says "train newskillname" the skill will appear as usual.

Anyway, just add the new skill (with an high value) in the @create trigger of the npc.


RE: NPC brain / skill - kn4tseb - 05-23-2014 01:50 AM

ok, did that and it actually says "i can train you in bla bla bla bla, and name of the new skill appears, but when you click on him custom skill wont be seen... think its not a big deal.
thanks ! Wink


RE: NPC brain / skill - Extreme - 05-23-2014 04:46 AM

(05-23-2014 01:50 AM)kn4tseb Wrote:  ok, did that and it actually says "i can train you in bla bla bla bla, and name of the new skill appears, but when you click on him custom skill wont be seen... think its not a big deal.
thanks ! Wink

Nice, you need to add the context menu to show when click him Big Grin


RE: NPC brain / skill - kn4tseb - 05-23-2014 11:17 AM

ohhhh didnt know that, gonna try it, thank you very much ^^


RE: NPC brain / skill - kn4tseb - 05-24-2014 02:03 AM

Context menu did th thing, had to add a new clilock but thats okey ^^ Thank you very much!