Passive Subscreen A/B Counter Fix
Overview
Creator:
justin
Added: 21 Nov 2014
Tags:
Global,
Item,
Misc
|
View Script |
Information
A fix to display the proper counter for the A and B buttons on the passive subscreen when the quest rule "Can Select A-Button Weapon on Subscreen" is on.
Description Setup Reviews Comments
More detailed setup instructions are included with the code.
Requires std.zh
1. Add SetCountersAB(); before the waitframe in your global active (slot2) script. A sample global script is included with the code.
2. Check the Script Counter constants that it uses to ensure there will be no conflicts. The defaults are the max values.
3. On your passive subscreen, place a Counter object with each Button Item display. Edit the properties.
On the Attributes Tab, change Item 1 to the corresponding Script counter - default is A Button = Script 24, B Button = Script 25
Leave "Show Zero" and "Only Selected" UNCHECKED.
Note: make sure that your item has its Counter Reference declared. Edit the item, Pickup tab.
For instance, Arrows are hardcoded to use either rupees or arrows. Unless the Counter Reference is set, the counter won't show.
Requires std.zh
1. Add SetCountersAB(); before the waitframe in your global active (slot2) script. A sample global script is included with the code.
2. Check the Script Counter constants that it uses to ensure there will be no conflicts. The defaults are the max values.
3. On your passive subscreen, place a Counter object with each Button Item display. Edit the properties.
On the Attributes Tab, change Item 1 to the corresponding Script counter - default is A Button = Script 24, B Button = Script 25
Leave "Show Zero" and "Only Selected" UNCHECKED.
Note: make sure that your item has its Counter Reference declared. Edit the item, Pickup tab.
For instance, Arrows are hardcoded to use either rupees or arrows. Unless the Counter Reference is set, the counter won't show.



