Papyrus Glossary

From Creation Kit
Jump to: navigation, search

Contents

C

  • Control Variable This is a variable used to control the flow of a script's logic. The following is a common example:
bool ranOnce    ; a boolean control variable.  By default, it is FALSE
 
EVENT onActivate(ObjectReference akActionRef)
     if (ranOnce == FALSE)      ; see if we've run this loop before
          ranOnce = TRUE        ; set the control variable to TRUE
     endif
endEVENT

E

L

  • Legacy This term simply refers to the in-editor scripting language used in previous Bethesda Game Studios editors such as the GECK and Construction Set.
  • Logical Operator Logical operators, or conditional operators, are symbols used in boolean logic to compare values.
== is equal to
!= is not equal to
> is greater than
< is less than
>= is greater than or equal to
<= is less than or equal to

P

  • Papyrus This is the name of the new scripting language created to support the Creation Kit.

S

  • STATE (as a Papyrus term) User-defined states. All scripts have a default "undefined state" (which may sometimes be referred to as the "empty state"). A script can only be in one state at a time, making these a useful tool for scripts that need to behave different depending on internal or external factors. More information available here


Language: English  • français