Script File Structure: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
imported>Zircsentin
m (fixed a typo: then -> than)
imported>Whocares65
mNo edit summary
Line 2: Line 2:
  (<import>|<variable definition>|<property definition>|<state definition>|<function definition>|<event definition>)*
  (<import>|<variable definition>|<property definition>|<state definition>|<function definition>|<event definition>)*


A Papyrus script is a text file with the extension ".psc" that consists of a header line at the beginning of the file, followed by a collection of imports, [[Variable Reference|variables]], [[Property Reference|properties]], [[State Reference|states]], [[Function Reference|functions]], and [[Events Reference|events]]. The order of these elements is not important as long as the header line is the first non-comment line in the file.
A Papyrus script is a text file with the extension ".psc" that consists of a header line at the beginning of the file, followed by a collection of [[#Imports|imports]], [[Variable Reference|variables]], [[Property Reference|properties]], [[State Reference|states]], [[Function Reference|functions]], and [[Events Reference|events]]. The order of these elements is not important as long as the header line is the first non-comment line in the file.


== Header Line ==
== Header Line ==
Anonymous user

Navigation menu