xNVSE / NVSE

New Vegas Script Extender (NVSE)

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is there suddenly a limit on using In-line variable declaration?

KirkH420 opened this issue · comments

After I updated 2 days ago, my scripts in my project broke.

It was the fact that I'd taken up the habit of using In-line variable declaration but apparently you guys now have some sort of limit on them now. Now I can only use a handful of inline declarations and then the NVSE Compiler (not Script Compiler) will tell me "Unable to resolve variable type [VarName]" I reverted to the previous version of xNVSE and added 20 more in-line variable declarations with no issue.

Was wondering what is the reason for this limit and also what is that number set to?

Oh well, not a real problem, I'll just declare them at the top of the script like usual, this was just allowing a bit of text reduction. Like, as in if i'm only going to use a variable once, why waste the line space to type it in two places instead of just once....

Fixed with 2a77996