Can Lay or Whatever



Allows a script to take control of the 'LAY' option in the 'View Character' menu. You can cause the option to appear or not appear and you can rename the option and its 'Hot-Key'.



Context



Character – The character being viewed

Class – the class of the character being viewed



Hook Parameters



Hook parameter[5] is initially set to “”. If you want a menu option to be displayed, you should set hook parameter [5] to the text you wish to display.



Hook parameter [6] defines the 'Hot-Key' for the menu option. It is the index ( 0, 1, 2, …) of the letter within the menu option text. Setting it to -1 will suppress any hot-key.



Hook Parameters

If the player selects the menu option defined by this hook, then the hook “LayOrWhatever” will be called.