Wikis / Unreal Wiki / UnrealScript syntax

Style

These sections explain styles you should use. The style is based upon Epic's style used in UnrealScript.

Names

All variable/function names should be UpperCamelCased, e.g. var Object OwnerObject.

Bool

Bool's should start with a lowercase b, e.g. bool bUnrealScriptStyle.

Enum

Enum's should start with uppercase E, e.g. enum EUnrealScriptStyle. Members should all start with all uppercase characters of the enum's name followed by a _, e.g.

enum EUnrealScriptStyle
{
    USS_Personal,
    USS_EpicGames
};

Interface

Interface's should start with a uppercase I, e.g. interface IUnrealScriptStyle.

Keywords

This section lists all known UnrealScript keywords(188). This includes hard-coded functionality of arrays like Insert etc, as well deprecated, postponed, re-named and canceled keywords. Note that most keywords are context-sensitive in UnrealScript, so you can use most of these for member or type names as well.

A

B

C

D

E

  • EdFindable
  • EditConst
  • EditConstArray
  • EditFixedSize
  • EditHide
  • EditorOnly
  • EditInline
  • EditInlineNew
  • EditInlineNotify
  • EditInlineUse
  • EditTextBox
  • Else
  • Empty
  • End
  • Enum
  • EnumCount
  • Event
  • Exec
  • Expands
  • Export
  • ExportStructs
  • Extends

F

G

H

  • HideCategories
  • HideDropDown

I

K

L

  • Latent
  • Length
  • Local
  • Localized
  • Long

M

N

  • Name
  • NameOf
  • Native
  • NativeOnly
  • NativeReplication
  • New
  • NoExport
  • NoExportHeader
  • NoClear
  • NoImport
  • None
  • NonTransactional
  • NonTransient
  • NotEditInlineNew
  • NotForConsole
  • NotInstanced
  • NotPlaceable
  • NoUserCreate

O

P

  • ParseConfig
  • PerObjectConfig
  • PerObjectLocalized
  • Placeable
  • Private
  • PrivateWrite
  • PreOperator
  • Protected
  • ProtectedWrite
  • Pointer
  • PostOperator
  • Public

R

S

T

U

V

  • Var
  • Vect
  • Virtual

W

Page Categories

Page Information

Discussion 2022-11-18T06:49:03.208856Z 2012-06-11T17:27:21Z Eliot /* Keywords */ Added the new code block statement FilterEditorOnly, CrossLevelActive and NativeOnly. https://wiki.beyondunreal.com/UnrealScript syntax Attribution-NonCommercial-ShareAlike 3.0