PDA

View Full Version : Export Tag Request



RPMiller
Feb 18th, '04, 11:14 AM
Dan,

This is going to sound like a really strange request, and I hope it is possible because it would save a ton of coding. You'll probably point out that there is an easier way which I would gladly accept as well.

Could you add a boolean tag that checks to see if there are *any* secondary values for stats? Perhaps an IF_ANY_SECONDARY?

I'm trying to add conditional formatting that will set tab stops based on whether there are secondary values, but the problem is I have to add a line for every single characteristic.

Thanks!

Simon
Feb 18th, '04, 11:17 AM
You mean like the already-existing IF_SECONDARY ... /IF_SECONDARY container?

;)

RPMiller
Feb 18th, '04, 11:27 AM
Does that work outside of the individual Characteristic containers so that I can put it before the characteristic block? If so, sweet!

Also, is there a tag to check to see if a standard movement characteristic (run, leap, swim) has been increased? That would also be very helpful.

Thanks again.

Simon
Feb 18th, '04, 11:31 AM
It cannot go outside of the characteristic container as there is no logic to follow it -- you don't have a characteristic defined to check against.

If you're looking for something akin to "if any characteristic has a secondary value" then you're on your own. I'd suggest using an HTML template so that you can use JavaScript in combination with the existing filters to get the information that you need.

The same applies to the movement tags.

RPMiller
Feb 18th, '04, 11:41 AM
Then it is going to be lots o' code. I can get it to work by checking everyone of them. I was just hoping for something a bit more streamlined.

What tag looks for points spent on normal movement (run, leap, swim)? I'm not looking for a power, just added points on the characteristic tab.

Simon
Feb 18th, '04, 11:48 AM
LEVELS

RPMiller
Feb 18th, '04, 12:16 PM
Originally posted by Simon
LEVELS That's not a conditional tag is it? Such that I could do an IF_LEVELS?

You know what, nevermind. I'm going to leave it up for the user to delete movement they don't want because they may want to keep super leaping derived from STR.

Thanks anyway Dan. I'm almost done with the template!