Junior Member
Join Date: Dec 2009
Posts: 2
|
Hiya...
I've been adding some Custom Merits via the Editor. I'd like to change the color of the Merit Tab red when validation Pre-reqs fails. I've not been able to find the IDs for the Tab/Panel to use in the Linked Panel Id edit box. Where can I find these IDs for the Tabs? Thanks in advance for your assistance; Thom "Better Living Through Entropy!" |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
I just fixed merits and a few other types of things to now reference their correct tabs automatically. So you don't need to specify any ids in the Linked Panel Id box.
|
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
If you use an exprreq or a pickreq, the tab will automatically be flagged in red if the validation test fails. However, if you use a prereq, you'll need to handle that manually within the script. The code to add at the end of the script is shown below.
Code:
if (@ispick <> 0) then altpick.linkvalid = 0 endif |
#3 |
Junior Member
Join Date: Dec 2009
Posts: 2
|
Quote:
Goin'ta try it out. Thought I missed something and it was driving me crazy Much appreciated. "Better Living Through Entropy!" |
|
#4 |
|
|