Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.SeqAct_ModifyObjectList


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
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
/**
 * A ModifyObjectList Action is used to manipulate an ObjectListVar or a set
 * of ObjectListVars.
 *
 * Basically, a ModifyObjectList Action  should be thought of as the operations
 * that can be done to a set of ObjectLists.  You have the Action point to a set of
 * ObjectLists and then you use the normal kismet firing of events to
 * cause the Action to affect the Lists.
 *
 *
 * The action provides a number of actions:
 *
 * Add:  This will add objects that are being referenced to the List(s)
 * Remove:  This will remove objects that are being referenced from the List(s)
 * Empty:  This will remove all objects in the List(s)
 *
 *
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 *
 * @todo - this should be a conditional
 */
class SeqAct_ModifyObjectList extends SeqAct_SetSequenceVariable
	native(Sequence);

cpptext
{
	/**
	* When a ModifyObjectList is Activated() it may do a number of things.
	* In each of those cases we make use of a helper function.
	**/
	void Activated();

private:
	void ActivatedAddRemove();
	void ActivateAddRemove_Helper( INT LinkNum );

public:
	/**
	* SeqAct_ModifyObjectList determines which of its outputs should be
	* set to active
	**/
	void DeActivated();

}

var() editconst int ListEntriesCount;

defaultproperties
{

	ObjName="Modify ObjectList"
	ObjCategory="Object List"
	ObjColor=(R=255,G=0,B=255,A=255)


    // all of the inputs / functionality this Action can do
	InputLinks(0)=(LinkDesc="Add To List")
	InputLinks(1)=(LinkDesc="Remove From List")
	InputLinks(2)=(LinkDesc="Empty List")

	VariableLinks.Empty

	// This is the set of of objects that are used in add, remove actions
	// objects referenced by these kismet objects will be inserted into
	// the list this Action points to
	VariableLinks(0)=(ExpectedType=class'SeqVar_Object',LinkDesc="ObjectRef",MinVars=1)


	// this is the LIST(S) object that we are going to do stuff too (i.e. add, remove, empty, call actions on all of the objects)
	VariableLinks(1)=(ExpectedType=class'SeqVar_ObjectList',LinkDesc="ObjectListVar",bWriteable=true)


	// I guess we need to push out to a variable the number of spawns?
	VariableLinks(2)=(ExpectedType=class'SeqVar_Int',LinkDesc="ListEntriesCount",bWriteable=true,PropertyName=ListEntriesCount)

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: to 6-1-2011 07:10:54.000 - Creation time: ti 22-3-2011 19:57:10.917 - Created with UnCodeX