Difference between revisions of "Papyrus Glossary"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
imported>Ereksen
m
 
Line 43: Line 43:
*'''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.  [[States_(Papyrus)|More information available here]]
*'''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.  [[States_(Papyrus)|More information available here]]


{{Languages}}
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]

Latest revision as of 18:27, 13 October 2012

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]

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


Language: English  • français