![]() |
Context Menu for Training - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Submissions (/Forum-Script-Submissions) +--- Thread: Context Menu for Training (/Thread-Context-Menu-for-Training) |
Context Menu for Training - RanXerox - 10-01-2012 03:50 AM This event allows players to be able to ask for training by using an NPC's context menu. Add this event to whatever NPC's you want to be able to train. There are some limits however: 1. A context menu has a limit for the number of entries. If the limit is exceeded, not all entries will be shown to the player. 2. Some brain types (monsters, animals, guards, etc) are incapable of training, so the event will first check for that. 3. There is no context menu choice for Spellweaving (unless you edit the client and add a localization string for it.) Code: [EVENTS e_trainer] |