scn aaaFLOBindingQuestScriptshort dooncearray_var bounddaedra ;===this is the array for the bound daedra refs, store base for non persistant/ ref for persistantarray_var boundpersistant ;===is ref persistant? 1=yes, 0=noarray_var daedricrace ;===list of npc races that are daedra; user customiseable by ini fileshort maxboundshort playerlevelshort playerconjurationshort indexref dummyref ; Ref "EMPTY"ref dummyref2 ; Ref "NOT AVAILABLE"short activeslotsbegin GameModeif doonce == 0set playerconjuration to player.GetAV Conjuration;===========create list of daedric races==================let daedricrace := ar_Construct ArrayrunBatchScript "INI\daedricraces.ini";===========initialise arrays with dummy ref==============set dummyref to aaaFLOdummyREFset dummyref2 to aaaFLOdummyREF2Let bounddaedra := ar_Construct ArrayLet boundpersistant := ar_Construct Array while (index +=1) < 6 let bounddaedra[index] := dummyref2 let boundpersistant[index] := 1 loopset doonce to 1endif;=====max bound depends on players conjuration level=======set playerlevel to player.GetLevelif player.GetAV Conjuration > playerconjurationset playerconjuration to player.GetAV Conjurationendifset maxbound to playerconjuration/20;============activate available slots==========let activeslots := ar_Find dummyref2 bounddaedraif activeslots < maxboundset index to activeslotswhile (index +=1) < activeslots let bounddaedra[index] := dummyrefloopendifend
I keep getting lots of those error messages when the script runs:
Error in script c5000ed6Operator := failed to evaluate to a valid result File: Tome_of_Binding.esp Offset: 0x014F Command: LetError in script c5000ed6An expression failed to evaluate to a valid result File: Tome_of_Binding.esp Offset: 0x014F Command: Let