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 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 |
class SeqVar_Named extends SequenceVariable hidecategories(SequenceVariable) native(Sequence); /** * This is a special type of variable that can be used to connect to a variable anywhere in the level sequence. * When play begins, it will search up parent sequences to find a variable of the corresponding type whose name matches FindVarName and connect to it. * This makes it easy to have one instance of a variable that is used in many places throughout sequences without complex wiring through many layers. * Similar to a global variable in C++. * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ cpptext { // UObject interface virtual void PostLoad(); virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent); // SequenceObject interface virtual void OnConnect(USequenceObject *connObj,INT connIdx); /** * Returns whether this SequenceObject can exist in a sequence without being linked to anything else (i.e. does not require * another sequence object to activate it) */ virtual UBOOL IsStandalone() const { return TRUE; } // SequenceVariable interface virtual FString GetValueStr(); virtual void DrawExtraInfo(FCanvas* Canvas, const FVector& CircleCenter); // SeqVar_Named interface void UpdateStatus(); virtual UBOOL ValidateVarLinks(); } /** Class that this variable will act as. Set automatically when connected to a SequenceOp variable connector. */ var() class<SequenceVariable> ExpectedType; /** Will search entire level's sequences (ie all subsequences) to find a variable whose VarName matches FindVarName. */ var() Name FindVarName; /** For use in Kismet, to indicate if this variable is ok. Updated in UpdateStatus. */ var transient bool bStatusIsOk; defaultproperties { ObjName="Named Variable" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |