xNVSE / NVSE

New Vegas Script Extender (NVSE)

Home Page:https://git.io/JfSAo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something has changed about how Functions accept "text" vs $string

KirkH420 opened this issue · comments

Another weird thing I noticed.... My mod accepts a lose BatchScript runs it with rActor.RunBatchScript. Before the update, my lose scripts were running fine. I actually rolled back the NVSE update tested, then put the new update back, then rolled back again.... to be sure.

After the update... something changed about the way RunBatchScript accepts it's String.
Before the update this was running:
Let bThemeScriptHasRun_B := rActor.RunBatchScript ("data" + $ScriptB_FileName)

After the update that line stopped running. Not even this will run
Let sTemp := ("data" + ScriptB_FileName)
Let bThemeScriptHasRun_B := rActor.RunBatchScript $sTemp

(Note: there is a backslash after "data", it just doesn't show up once i submit this textbox)

This bug actually breaks my mod....So I'll be skipping this particular xNVSE update so that I can continue working on my project. However I am planning to release the first version very soon but I cannot until this works again. Sorry to be the one to bring bum news. Thanks.

So I spent some more time going between the current release and the previous, and I found that the problem was actually a common line that was in my batch scripts. Which is still sort of weird because it will run that line in the previous update, but not with the new one. Drove me nuts for a while.... lol
Anyway, I'll close this. Thanks