Results 1 to 13 of 13

Thread: IF_NOT_Powers Tag

  1. #1
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182

    IF_NOT_Powers Tag

    Mr. Simon,

    Is there a IF_NOT_POWERS tag? I know you created a whole slew of boolean type tags, but I don't recall one that could be used as the opposite of IFPOWERS.

    I'm currently displaying Martial Arts under powers, but if there are no powers I don't get the power's "heading" (COST, NAME, END).
    What I would like is to display a "heading" using the following logic:

    IF Powers exist then
    display heading
    IF No Powers AND Martial Arts exist
    display heading
    IF No Powers and No Martial Arts exist
    don't display heading

    Does that make sense? Thank you for your time.
    I used to be not good like you, then I took a thesaurus in the knee.

  2. #2
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Errr....wouldn't the following give you the same result:

    If Martial Arts exist: display heading

    If Martial Arts do not exist: do not display heading

    Basically, just leave Powers out of it all together. If you want to have a heading for martial arts, include it in the IFMARTIAL_ARTS container.

    If I'm misunderstanding, let me know....
    White Hats are for CISSPs

  3. #3
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    Errr....wouldn't the following give you the same result:

    If Martial Arts exist: display heading

    If Martial Arts do not exist: do not display heading

    Basically, just leave Powers out of it all together. If you want to have a heading for martial arts, include it in the IFMARTIAL_ARTS container.

    If I'm misunderstanding, let me know....
    The problem is the positioning. I want to make sure that everything falls where it should which the current template does perfectly. If I put the powers heading into the martial arts, the martial arts would have to come first, and even then we still have the problem of if there is not any martial arts then the heading wouldn't display either.

    To go further, both powers and martial arts have their respective headings, with the powers heading needing to be there if there are martial arts. (I'll send Steve an email to clarify that that is the case just to make sure)

    Did I clarify, or did I muddy the waters more? The WG says that Martial Arts have to be listed under Powers since they are a type of attack power. So that's where this is coming from.
    I used to be not good like you, then I took a thesaurus in the knee.

  4. #4
    Join Date
    Feb 2003
    Location
    Northborough, MA
    Posts
    1,512
    Rep Power
    3366
    I'd like this too, my export templates still mess up if you have martial arts and no powers.
    "Similarly, don't get hung up trying to figure out the 'exact right way' to build something using the Hero System rules..." (6E2 277).

    Yeah, that'll happen.

    ...and check out Hero In Two Pages

  5. #5
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    I'm really missing something here...

    If you have the following:

    IFPOWERS
    [powers header stuff here]
    POWERS
    /POWERS
    [powers footer stuff here]
    /IFPOWERS
    IFMARTIAL_ARTS
    [martial arts header stuff here]
    MARTIAL_ARTS
    /MARTIAL_ARTS
    [martial arts footer stuff here]
    /IFMARTIAL_ARTS

    What's missing? You're able to put the martial arts after the powers (if powers exist), you're able to include a header at the top of the martial arts section, assuming that there are martial arts....

    What am I not understanding about what you need to do?
    White Hats are for CISSPs

  6. #6
    Join Date
    Feb 2003
    Location
    Northborough, MA
    Posts
    1,512
    Rep Power
    3366
    I know this is complex, so let me know if I get it wrong or miss something.

    The WG format is as follows:
    1) Cost/Power/END header
    2) Martial Arts
    3) Powers

    The trick is that #1 appears if you have martial arts, powers, or both: instead of a "powers header", there's a "powers and/or martial arts header". So the format you describe will work if the character has powers, but will fail (not show the right header, which in my case means not include the start table code) if the character has martial arts but no powers.
    "Similarly, don't get hung up trying to figure out the 'exact right way' to build something using the Hero System rules..." (6E2 277).

    Yeah, that'll happen.

    ...and check out Hero In Two Pages

  7. #7
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Actually, I think the WG format is:

    1) Cost/Power/END header
    2) Powers
    3) Martial Arts

    Which is why I suggested it the way I did.

    Are you saying that you want to include a Powers header even if there are no Powers (only Martial Arts)?
    White Hats are for CISSPs

  8. #8
    Join Date
    Feb 2003
    Location
    Northborough, MA
    Posts
    1,512
    Rep Power
    3366
    [read read read]

    The WG doesn't say specifically (that I can find, anyway), but on page 29 under "The Abilities Block" it says that generally speaking, offensive capabilities should come first. For that reason, I put Martial Arts first (the alternative, putting them last, seems a direct contravention of this principle).
    "Similarly, don't get hung up trying to figure out the 'exact right way' to build something using the Hero System rules..." (6E2 277).

    Yeah, that'll happen.

    ...and check out Hero In Two Pages

  9. #9
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    Well...again, the issue is whether you want the Powers header to be inserted whether or not there are Powers to list.

    If so, then you'd need a new tag/container

    If you only want the Powers header if there are powers to list, then you're good to go with the existing tags.
    White Hats are for CISSPs

  10. #10
    Join Date
    Feb 2003
    Location
    Northborough, MA
    Posts
    1,512
    Rep Power
    3366
    According to the WG, Martial Arts are listed under the Powers section, so if they exist, the character technically has powers, and so the Powers header should (IMO) display.

    So, I guess the answer is Yes, and I need a new tag. Don't know what Durnin needs it for.
    "Similarly, don't get hung up trying to figure out the 'exact right way' to build something using the Hero System rules..." (6E2 277).

    Yeah, that'll happen.

    ...and check out Hero In Two Pages

  11. #11
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    I just confirmed this with Steve.

    You have to have the Powers heading if you have Martial Arts even if you don't have any powers, but you don't need a Powers heading if you don't have either one.

    I'll post the reply email if you need to see.

    I'm in agreement with all of Geoff's comments above. I'm in exactly the same boat. I'm not using tables though, I'm controlling everything via the RTF coding which interestingly enough I'm learning very easily, it's pretty simple once you get used to it. In fact it's similar to HTML, and I would hazard a guess that it is part of the SGML specifications. (Just an FYI)
    I used to be not good like you, then I took a thesaurus in the knee.

  12. #12
    Join Date
    Feb 2003
    Location
    Chicago, Illinois, United States
    Age
    39
    Posts
    10,226
    Blog Entries
    10
    Rep Power
    409981
    OK...I've got the following added in for the next update:

    IF_NO_COMBAT_LEVELS
    IF_NO_MANEUVERS
    IF_NO_NONMANEUVERS
    IF_NO_MARTIAL_ARTS
    IF_NO_SKILLS
    IF_NO_PERKS
    IF_NO_TALENTS
    IF_NO_POWERS
    IF_NO_EQUIPMENT
    IF_NO_DISADS

    I think that should just about cover it
    White Hats are for CISSPs

  13. #13
    Join Date
    Feb 2003
    Location
    Elk Grove, CA
    Age
    42
    Posts
    3,415
    Blog Entries
    4
    Rep Power
    1815182
    Originally posted by dsimon
    OK...I've got the following added in for the next update:
    --snip--
    I think that should just about cover it
    HOLY PROGRAMMING DANMAN!!!

    I ask for an inch you give me a mile! Thanks! I'm going to have to put these to use just because you made them...
    I used to be not good like you, then I took a thesaurus in the knee.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Example Tag Question
    By psychoph in forum HERO Designer Discussion
    Replies: 2
    Last Post: Apr 23rd, '03, 11:15 AM
  2. How about a NOT_LIST tag?
    By RPMiller in forum HERO Designer Discussion
    Replies: 2
    Last Post: Apr 9th, '03, 06:19 PM
  3. EXP Tag request
    By RPMiller in forum HERO Designer Discussion
    Replies: 1
    Last Post: Apr 8th, '03, 03:09 PM
  4. You guessed it, TAG request
    By Midhir in forum HERO Designer Discussion
    Replies: 1
    Last Post: Feb 25th, '03, 06:58 PM
  5. Yet another TAG request
    By Midhir in forum HERO Designer Discussion
    Replies: 1
    Last Post: Feb 15th, '03, 07:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •