Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 |
class ActionChangeLevel extends Action; var() string mapname; var() bool bShowLoadingMessage; var() bool persist; // execute latent function Variable execute() { Super.execute(); if( bShowLoadingMessage ) parentScript.Level.ServerTravel(mapname, persist); else parentScript.Level.ServerTravel(mapname$"?quiet", persist); return None; } // editorDisplayString function editorDisplayString(out string s) { s = "Change level to map " $ propertyDisplayString('mapname'); } defaultproperties { returnType = None actionDisplayName = "Change Level" actionHelp = "Loads a new map" category = "Level" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |