Mod:Creation Kit/Identifier Reference



An identifier is simply a name in Papyrus that refers to a variable, function, script, or property. A valid identifier consists of a letter or underscore, optionally followed by several other letters, digits, or underscores.

Examples
HelloWorld _IAmCool _4You i 4you BFargle%
 * Valid identifiers
 * Invalid identifiers
 * Star

= Namespaces = If the identifier refers to a script, it may have namespaces, separated by colons as follows:



The last identifier specifies the name of the script, and the identifiers in front of it are the namespaces. The namespaces are the folders that the script will be found in. For example, if you have a script in "MyCoolStuff\Quests\MyQuest.psc" the name of the script will be "MyCoolStuff:Quests:MyQuest".

Examples
MyQuestScript CivilWar:MainQuestScript Traps:Triggers:TripWire