Re: buttons, I recall that some modder would've liked to disable the Bard button using opcode Button: Disable Button [144].
You could restore opcode #144 / #279, param 2 = 10 (i.e. ability to enable/disable the Find Traps button).
Done.
-----1210 Button Effects Mod [M]
REQUIRES: Expanded Stats
Expands the disable and enable button opcodes to allow disabling/enabling the Bard Song (10) and Find Traps (14) buttons, respectively
Descriptions
#144 (0x090) Button: Disable Button [144]
Parameter #1: Irrelevant
Parameter #2: Button
Description:
Disabled the button specified by the 'Button' field.
Known values for 'Button' are:
0 Stealth Button
1 Thieving Skill Button
2 Spell Select Button
3 First Quick Spell Button
4 Second Quick Spell Button
5 Third Quick Spell Button
6 Turn Undead Button
7 Talk Button
8 Use Item Button
9 First Quick Item Button
10 Bard Song Button
11 Second Quick Item Button
12 Third Quick Item Button
13 Innate Ability Button
14 Find Traps Button
#279 (0x117) Button: Enable Button [279]
Parameter #1: Irrelevant
Parameter #2: Button
Description:
Enables the button specified by the 'Button Type' field.
Known values for 'Button' are:
As above
Options:
-0: disabled
-1: enabled
While the implementation for Find Traps is slightly different (uses stat 322), the behaviour of disable/enable button are the same, i.e. just like disabling the Turn Undead button, if the modal state is active when the button is disabled, the modal state will remain active.
Edited by Ascension64, 12 March 2011 - 07:29 PM.