Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "UE1:HelloWorldCommandlet (UT)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Auto-generated page) |
(added descriptions) |
||
Line 4: | Line 4: | ||
| parent2 = Object | | parent2 = Object | ||
}} | }} | ||
− | + | UnrealScript "hello world" sample Commandlet. | |
− | + | ||
− | + | ==Usage== | |
− | + | <pre>ucc.exe HelloWorld</pre> | |
− | + | ||
==Properties== | ==Properties== | ||
Line 14: | Line 13: | ||
'''Type:''' [[int]] | '''Type:''' [[int]] | ||
− | + | An example integer variable that can be set from the command line with the parameter <code>intparm=''value''</code>. | |
====strparm==== | ====strparm==== | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | An example string variable that can be set from the command line with the parameter <code>strparm=''value''</code>. | |
===Default values=== | ===Default values=== | ||
Line 54: | Line 53: | ||
'''Overrides:''' {{tl|Main|Commandlet}} | '''Overrides:''' {{tl|Main|Commandlet}} | ||
− | + | Prints "Hello, world!", any command line parameters and the values of the two example variables. | |
+ | |||
+ | ==See also== | ||
+ | * [http://unreal.student.utwente.nl/uncodex-ut/Source_core/helloworldcommandlet.html Source code of HelloWorldCommandlet] |
Latest revision as of 06:55, 15 December 2008
Object >> Commandlet >> HelloWorldCommandlet |
UnrealScript "hello world" sample Commandlet.
Usage[edit]
ucc.exe HelloWorld
Properties[edit]
intparm[edit]
Type: int
An example integer variable that can be set from the command line with the parameter intparm=value
.
strparm[edit]
Type: string
An example string variable that can be set from the command line with the parameter strparm=value
.
Default values[edit]
Property | Value |
---|---|
HelpCmd | "HelloWorld" |
HelpDesc[0] | "An integer parameter" |
HelpDesc[1] | "A string parameter" |
HelpOneLiner | "Sample" |
HelpParm[0] | "IntParm" |
HelpParm[1] | "StrParm" |
HelpUsage | "HelloWorld" |
Events[edit]
Main[edit]
Overrides: Commandlet.Main
Prints "Hello, world!", any command line parameters and the values of the two example variables.