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 00052 00053 00054 00055 00056 00057 00058 |
/* -------------------------------------------------------------- StoryObjectiveBase -------------------------------------------------------------- Base Class for Objective Actors in Killing Floor. This class mostly exists as an interface for Native functions. Author : Alex Quick -------------------------------------------------------------- */ class StoryObjectiveBase extends Actor native notplaceable; /* Human readable Name. */ var(Objective_Settings) const name ObjectiveName; /* Reference to the action that is executed when this Objective is successfully completed */ var(Objective_Actions) export editinlineuse BaseObjectiveAction SuccessAction; /* Reference to the action that is executed when this Objective is failed */ var(Objective_Actions) export editinlineuse BaseObjectiveAction FailureAction; // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) /* Represents a connection between two actors in the editor. Used to visualize Objective progression */ struct native SEditorConnection { var Actor ConnectionTarget; // The Actor the connection ends at. var Actor ConnectionSource; // The Actor the connection begins with. var name ConnectionName; // Name of the connection, if relevant. (events , etc.) var color ConnectionClr; // Colour of the line being drawn var byte ConnectionType; // 0 = event , 1 == action }; var const array<SEditorConnection> EditorConnections; /* Called in native - Only used in the editor viewport for hooking up Objective lines NOTE !!!! DO NOT CALL THIS EVENT FROM SCRIPT. Bad things could happen. */ event bool DrawConnectionsTo(actor PotentialTarget, array<StoryObjectiveBase> ObjList, out array<SEditorConnection> Connections){} defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |