• 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

Adding weapon focus for free based on simple vs martal weapon

In your script, how do you know where and what BaseWep is? How do you know there's a Broadcast method? How can I find these things if I don't know they exist?

Thank you.
 
He's re-creating the Weapon Focus feat, so on the feats tab, he used the "New (Copy)" button to make a copy of Weapon Focus, and study its script.
 
The other strategy that would work to figure out what's going on, in order to duplicate it, would be to make sure "Enable Data file Debugging" was turned on in the Develop menu, then add a weapon to your test character, and right-click it, choosing Show Debug Tags for XXX, then again, choosing Show Debug Fields for XXX, and then adding a copy of weapon focus to the character, and setting that feat to the weapon type matching the one you're testing. Then, watch the fields and tags on that weapon to see what changes when Weapon Focus is applied to it.
 
I've actually been doing this. And I added a line to the Eval Script Andrew came up with to try to look at things in the debug window. There's a shortname field, IIRC, in Weapon Focus, but the line kept returning the shortname for heavy armor proficiency instead of WF.

Is there anyway to write debug lines to look at things without going into already-existing Eval Scripts? I suppose I could just write a new Eval Script that was nothing but the debug line(s). Didn't think of that until now.

But yes, I've been going to that over and over again. I wish I could do a control-F Find through the thing, although I guess if I pick the other tag/field options, they let me check boxes and they just display the relevant tags.

I'm kind of doing other things right at this instant. I needed a break.
 
Back
Top