Flag Reference

Revision as of 09:47, 2 November 2011 by imported>Jlundin (Created page with "Flags are words that can be applied to a script itself, properties, variables, or [[Function Reference|fun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Flags are words that can be applied to a script itself, properties, variables, or functions. The flags do not change how something compiles, they just provide additional information to the game or Creation Kit.

Script Flags

  • Hidden: Hides this script from the normal list of scripts in the Creation Kit that shows when someone wants to attach a script to an object. This is usually used for things that aren't intended to be attached to anything by the user (like fragments), or by base scripts that don't do anything on their own except to be extended by a non-hidden script.
  • Conditional: Flags this script as viewable by the condition system. The Creation Kit will not let you attach more then one conditional script to the same object.

Property Flags

  • Hidden: Hides this property from the property window. Usually used for values you don't want the Creation Kit to change, but which you want other scripts to view.
  • Conditional: (Auto properties only) Flags the hidden variable of an auto property to be visible to the condition system. The script must also have the conditional flag.

Variable Flags

  • Conditional: Flags the variable to be visible to the condition system. The script must also have the conditional flag.

Function Flags

There are no flags that are valid for use on functions.