View Single Post
Azhrei
Senior Member
 
Join Date: Sep 2015
Posts: 435

Old April 16th, 2019, 05:24 AM
I'm trying to write a script to add +2 to all Knowledge checks (whether trained or not). I've found similar code in a different trait and I'm using that code. I think I understand what the original script is doing, but my script doesn't work — it doesn't add anything to the Knowledge skills (or at least, the bonus doesn't show up when I hover over the "?" for a given Knowledge skill on the Skills tab).

I'd like to print some of the intermediate script values so I can ensure they contain what I think they should. (Actually, what I really want to do is set a breakpoint and single-step the code, but I know that isn't going to happen!) Is there any kind of print statement that I can put into the script that will cause the output to appear in a "console" or "log" window?

Thanks!
Azhrei is offline   #1 Reply With Quote