Fallout 4 Specific Features

PaperScript has support for all the new features added to Papyrus with Fallout 4.

See Fallout 4 Support for usage instructions

New Function Flags

  • DebugOnly

  • BetaOnly

New Property Flags

  • Const

  • Mandatory

New Variable Flags

  • Const

New Script Flags

  • Native

  • Const

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 `var` variable type

Last updated