Skip to content

Add Get/SetStringVariable functions#243

Merged
korri123 merged 2 commits intoxNVSE:masterfrom
Stentorious:Get/SetStringVariable
Feb 19, 2026
Merged

Add Get/SetStringVariable functions#243
korri123 merged 2 commits intoxNVSE:masterfrom
Stentorious:Get/SetStringVariable

Conversation

@Stentorious
Copy link
Contributor

Get/Set the value of the specified string_var for the calling reference or specified scriptable object.

// String handling
if (whichAction == eScriptVar_GetStr)
{
const char* strValue = nullptr;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use empty string, null is not valid for string vars (results in console errors)

@korri123 korri123 merged commit 3a998c6 into xNVSE:master Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants