• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Edge Upgrades and Visibility

SeeleyOne

Well-known member
Is there a way to make an Edge be omitted from the print out after its improved version is taken? For example Frenzy and Improved Frenzy, Attractive and Very Attractive, etc.
 
You should be able to just conditionally set the Tag. So right now if you hit the checkbox on the "Omit from printout" it adds a tag for Print.NoPrint. So presumably that's the one we'd need for omitting from the printout and you'd just need something like the following in the base version of the Edge:
Code:
if (hero.tagis[edge.edgFrenzy2] = 1) then
      perform hero.assign[Print.NoPrint]
endif
 
Thanks. the first "edge" should be Edge.

The problem is that I cannot figure out what sort of timing. The NoPrint needs to be added before the !NoPrint list is made. My guess is Render 500.

I am not entirely sure that the hero.assign is what should be used. I mean, how does it know to put the tag onto the edge?
 
It should only apply to the Edge because you're putting the script into the Edge, right? I could be wrong, but I thought that's what it was. I might have some time tomorrow to try and look at it. As for timing your guess is as good as mine.
 
There is no timing limit in this case - the process of deciding how to lay out the character sheet is not started until after the phase & priority sequence ends.

And yes, you want to assign Print.NoPrint to the specific thing that should not be printed, not the hero.
 
OK, I got it to work, but it did seem to need some timing. It did not work until I tested it with a stat bump (just to see if the "if" part was working). So, while the timing that I suggest is probably not entirely necessary, it works so I will share it anyway. Here Goes:

Eval Script
Phase: Pre-Traits
Priority: 5000

Code
Code:
 if (hero.tagis[Edge.edgWhatever] = 1) then
      perform this.assign[Print.NoPrint]
endif
 
Last edited:
Oh, "this.assign"! Boy do I feel dumb... then again I often feel dumb trying to code some of this stuff so that may just be me. ;)
 
this. is implied in almost all lines of code, so you can type a little less to get the same effect:

Code:
perform assign[Print.NoPrint]
 
Back
Top