Fallout 4
0 of 0

File information

Last updated

Original upload

Created by

Dlinny_Lag

Uploaded by

DlinnyLag

Virus scan

Safe to use

About this mod

F4SE plugin that introduces string attributes for NPC.

Requirements
Permissions and credits
Changelogs
String Attributes


This is F4SE plugin that allows to define string attributes of Actors via Papyrus scripts. Like vanilla ActorValue, but string, not numeric.
Change notifications are supported out of box.

DISCLAIMER: Mod is in the early development stage. Backward compatibility may not always be possible.

This mod is extracted from F4DS mod as planned. Functionality of this mod is removed from F4DS in 0.9.0 version

Mod consist of 2 parts:
 - DLL file with F4SE plugin
 - Papyrus script to access plugin functionality

Papyrus script source code is available and contains comments with API explanation.
Source code of F4SE plugin is available on GitHub.

There is no usage samples yet. Should be added later.

Usual workflow:
1) Register new string attribute with RegisterStringAttribute function call
2) Use SetString and Append functions to change value of attribute for desired Actor
3) Use GetString function to get current value

In additional, change notifications can be received in Papyrus scripts.
Change notification triggered by successful calls of SetString and Append functions  and can be delivered to registered Papayrus scripts. 
To receive notifications one shoud call RegisterForAttributesChange
More details can be obtained from comments in Papyrus scipt source code.