Example of adding "debug". To view then go to "
Develop->Floating Info Windows->Show Debug Output".
Code:
debug "Started Script"
field[livename].text = "Daring +" & field[abValue].value
field[abSumm].text = signed(field[abValue].value) & " to Will save vs. Fear"
debug "Before FirstCopy"
~only perform the calculations for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
debug "After FirstCopy"
debug "Before ShowSpec"
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
debug "After ShowSpec"
debug "Before SpcDisable"
doneif (tagis[Helper.SpcDisable] <> 0)
debug "After SpcDisable"
#situational[hero.child[svWill], signed(field[abValue].value) & " vs. fear",field[thingname].text]