Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
What is the timing needed to update both a main tab and a summary tab at about the same time?
I'm working on a game system I started a while back and I have an attribute with the Hide.Attribute tag on it. The attribute tab template and the summary tab template are both set up with !Hide.Attribute on the display, so the hidden attribute doesn't display unless a ability deletes the tag. This works as expected on the attribute tab, but the summary tab doesn't update with the same timings it appears. By default, the attribute is hidden on both tabs. If I add a race that deletes the Hide tag, the attribute appears on the attribute tab, but is still not visible on the summary tab. I've got the timings on the delete of the tag at I think Render/5000 or setup/2000 I forget which. Thoughts? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Add the
alwaysupdate="yes" option to all tables whose list expression needs to be re-tested when scripts change things. |
#2 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
That did it, thanks very much Mathias!
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
|
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
http://hlkitwiki.wolflair.com/index.php5/Kit_Reference
From there, choose "Data File Reference", then "portal", then, either "table_dynamic", "table_fixed", or "table_auto" - there, you'll see where alwaysupdate is listed - so it's used in portal elements, on specific types of portals. From that original link, go to "Structural File Reference", then "component" - there, you'll see the list of options you can add to the component itself. So, you can't add it to the component itself, but you could add it to a table that's adding things from that component. |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Ok I see it then. I guess I may have to do this on some of my tables then...
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I believe nearly every table in the summary panels for both Pathfinder and Shadowrun has this setting.
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Sadly I am going to be trying to figure out the Shadowrun files at some point to deal with ammo on my guns, and tracking them via in-play mechanics. Right now I am just trying to get the basic stuff done though. Trying to get all the summary panels and tabs done for the system. It is quite a bit of work and I am still learning the portals.
|
#8 |
|
|