bcwhite Posted November 7, 2023 Report Share Posted November 7, 2023 When exporting (.hdr), the POWER_END has multiple meanings. If there is an END cost, it'll be a number. If not but there are charges, it'll be a weird "[n bc]" format where "n" is the number of charges and "bc" is only present if the charges are boostable. Is there any way to get only END or only charges? Alternatively, is there an IF that distinguishes between them so I can conditionally emit only one? -- Brian Quote Link to comment Share on other sites More sharing options...
Simon Posted November 7, 2023 Report Share Posted November 7, 2023 You can get at the END explicitly through the ATTRIBUTE_VALUE container -- e.g. <!--ATTRIBUTE_VALUE-->getEndUsage<!--/ATTRIBUTE_VALUE--> The charges formatting is part of the HERO System writers' guidelines output...it comes along for the ride with the default getColumn3Output() method (which POWER_END is a shortcut to). Quote Link to comment Share on other sites More sharing options...
bcwhite Posted November 7, 2023 Author Report Share Posted November 7, 2023 That worked, thanks. Is that API documented anywhere? Quote Link to comment Share on other sites More sharing options...
Simon Posted November 8, 2023 Report Share Posted November 8, 2023 HD's Javadoc would be the best resource for that -- any empty getter method on the currently active object can be called through the ATTRIBUTE_VALUE container. Quote Link to comment Share on other sites More sharing options...
bcwhite Posted November 9, 2023 Author Report Share Posted November 9, 2023 Do I have to purchase the source code to get that information or is it available somewhere online? Quote Link to comment Share on other sites More sharing options...
Simon Posted November 9, 2023 Report Share Posted November 9, 2023 The Javadoc is freely available in the downloads section. Making full sense/use of it would benefit from having the source code, but it's not required. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.