Nickademus
March 2nd, 2014, 00:09
This line is causing errors. At first it was only when I closed or /reloaded FG. Now it throws an error when I remove an effect action or delete a spell that has an effect action.
local bShowAttackDetail = (toggle_attack.getValue() == 1) and bShowCast;
The error message used to be that toggle_attack was a nil value. Now it is showing the .getValue as nil.
Script Error: [string "campaign/scripts/spell_action.lua"]:54: attempt to call field 'getValue' (a nil value)
To my knowledge, I do not touch any of the attack buttons or the script anywhere in the updateDisplay() function. I also think it started this before I even started making extensions. I've mostly ignored it since it only happened when I closed FG, but that could be just because it was the first time an effect action was being closed/removed.
This also happens in a fresh campaign with no extensions.
local bShowAttackDetail = (toggle_attack.getValue() == 1) and bShowCast;
The error message used to be that toggle_attack was a nil value. Now it is showing the .getValue as nil.
Script Error: [string "campaign/scripts/spell_action.lua"]:54: attempt to call field 'getValue' (a nil value)
To my knowledge, I do not touch any of the attack buttons or the script anywhere in the updateDisplay() function. I also think it started this before I even started making extensions. I've mostly ignored it since it only happened when I closed FG, but that could be just because it was the first time an effect action was being closed/removed.
This also happens in a fresh campaign with no extensions.