Category:Fragments

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Fragments are Papyrus' version of Result Scripts.

NOTE: Do not have any properties or variables pointing at fragment scripts. For memory reasons, these do not stick around and may cause odd behavior if you try to hold onto them. Since these scripts are all automatically const the compiler will help with this, but it can't protect you if you cast the script to something else (like a base class).

List of Special Variables in Fragments[edit | edit source]

Quest Stage Fragments:

Script kmyQuest


Perk Fragments:

Actor akActor - the actor with the perk on them

ObjectReference akTargetRef - the object activated (empty if a value perk entry)


Scene Timer Action Fragments:

ReferenceAlias akAlias - that the timer is running on


Terminal Fragments:

ObjectReference akTerminalRef - the terminal initially activated


Topic Info Fragments:

Actor akSpeaker - the actor speaking the topic (none if the speaker isn't an Actor - check akSpeakerRef)

ObjectReference akSpeakerRef - the objectref speaking the topic

Pages in category "Fragments"

The following 7 pages are in this category, out of 7 total.