Papyrus Glossary
Revision as of 17:12, 2 December 2011 by imported>Darkconsole (Script running global find and replace: = for '''=)
C[edit | edit source]
- 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[edit | edit source]
- EVENT Events are the various stimuli sent from the game to which Papyrus scripts are capable of reacting. There are many types of events available for use.
L[edit | edit source]
- 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[edit | edit source]
- Papyrus This is the name of the new scripting language created to support the Creation Kit.
S[edit | edit source]
- 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