Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:Commandlet (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> Commandlet

Contents

Package: 
Core
Direct subclasses:
HelloWorldCommandlet, SimpleCommandlet
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UT, UT2003, UT2004, UT3

/ UnrealScript Commandlet (command-line applet) class. / / Commandlets are executed from the ucc.exe command line utility, using the / following syntax: / / UCC.exe package_name.commandlet_class_name [parm=value]... / / for example: / / UCC.exe Core.HelloWorldCommandlet / UCC.exe Editor.MakeCommandlet / / In addition, if you list your commandlet in the public section of your / package's .int file (see Engine.int for example), then your commandlet / can be executed without requiring a fully qualified name, for example: / / UCC.exe MakeCommandlet / / As a convenience, if a user tries to run a commandlet and the exact / name he types isn't found, then ucc.exe appends the text "commandlet" / onto the name and tries again. Therefore, the following shortcuts / perform identically to the above: / / UCC.exe Core.HelloWorld / UCC.exe Editor.Make / UCC.exe Make / / It is also perfectly valid to call the Main method of a / commandlet class directly, for example from within the body / of another commandlet. / / Commandlets are executed in a "raw" UnrealScript environment, in which / the game isn't loaded, the client code isn't loaded, no levels are / loaded, and no actors exist.

[edit] Properties

[edit] HelpCmd

Type: string

Modifiers: localized


[edit] HelpDesc

Type: string

Array size: 16

Modifiers: localized


[edit] HelpOneLiner

Type: string

Modifiers: localized


[edit] HelpParm

Type: string

Array size: 16

Modifiers: localized


[edit] HelpUsage

Type: string

Modifiers: localized


[edit] HelpWebLink

Type: string

Modifiers: localized


[edit] IsClient

Type: bool


Default value: True

[edit] IsEditor

Type: bool


Default value: True

[edit] IsServer

Type: bool


Default value: True

[edit] LazyLoad

Type: bool


Default value: True

[edit] LogToStdout

Type: bool


Default value: True

[edit] ShowBanner

Type: bool


Default value: True

[edit] ShowErrorCount

Type: bool


[edit] Native functions

[edit] Main

native event int Main (string Parms)


Personal tools