Those both just refuse to work. I'll quote the code below. Help is much appreciated. 1. SetStringSetting.
if Var == 1
let stName := "Name1"
SetStringSetting sDefaultPlayerName stName
else
let stName := "Name2"
SetStringSetting sDefaultPlayerName stName
endif
2. SetVariable P.S. There are lots of conditions, but it looks like this if to cut short:
...
SetVariable "sUseAmount", -1, rTarget
...
;---OR---
...
SetVariable "sUseAmount", 1, rTarget
Where sUseAmount is an EXISTANT (I checked via HasVariable function intentionally to verify I didn't mistake anywhere grammar-wise) variable for rTarget reference (that's a system that does some parsing depending on Target's reference ID). I tried with ',', without it, and in other form of function usage. None worked properly. 1) is used in result script in quest, whilst 2) is used in User Defined Function. I also tried to use 2) in around the same form in main script for the system, but it still didn't work. Then again, thanks if you help me solve that riddle! Oh, and in regards of 1). I tried using NVSE's function but GECK wiki for JIP LN NVSE claims that NVSE's function is broken. So I don't know, really, what's wrong.