"trying to runfunction index greater than function count"
"script will not run anymore"
Also, when loading a save, I got the same bug for a different mod I made (which has never had this bug before)
Here's the script, for reference:
Begin Z13_Meteoric_Bow_SCShort OnPCEquipShort EquippedIf ( OnPCEquip == 1 )set Equipped to 1player-> additem Z13_Meteoric_Ammo 1player-> equip Z13_Meteoric_ammoelseset Equipped to 0endifif ( GetItemCount Z13_Meteoric_Ammo < 1 )if ( Equipped == 1 ) player-> additem Z13_Meteoric_Ammo 1 player-> equip Z13_Meteoric_ammoendifendifend
I'm only using the Morrowind master file for this mod, no Tribunal or Bloodmoon. Anyone know the problem or how to fix it?