Fallout 4 Specific Features
PaperScript has support for all the new features added to Papyrus with Fallout 4.
New Function Flags
DebugOnlyBetaOnly
New Property Flags
ConstMandatory
New Variable Flags
Const
New Script Flags
NativeConst
Property Groups
A property group makes the properties it contains show up in a visually separated group in Creation Kit. They have no other purpose.
Namespaces
Namespaces can be used to differentiate between different scripts with the same name. In PaperScript, the namespace separator is a double colon (::). You can "import" namespaces to use their members without typing the whole namespace every time.
Structs
A struct is a container of variables that acts like a type.
The `Is` operator
The is operator can be used to check if a variable is of a particular type.
The is operator can be used in Skyrim PaperScript as well! It translates into a cast and a null check internally.
The `var` variable type
Last updated