1
0
KF2-Dev-Scripts/Engine/Classes/SequenceAction.uc
2020-12-13 18:01:13 +03:00

34 lines
976 B
Ucode

/**
* This is an op that by default performs a behavior on any targeted
* objects.
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class SequenceAction extends SequenceOp
native(Sequence)
abstract;
cpptext
{
virtual void Activated();
/** Called before the handler function is called on a target actor. */
virtual void PreActorHandle(AActor *inActor) {}
}
/** Handler function name for this action, if none will use the class name to autogenerate one: SeqAct_DoSomething sets HandlerName to "OnDoSomething" */
var Name HandlerName;
/** If true this action will call the handler function on all targeted actors */
var bool bCallHandler;
/** List of objects to call the handler function on */
var() array<Object> Targets;
defaultproperties
{
bCallHandler=TRUE
ObjName="Unknown Action"
ObjColor=(R=255,G=0,B=255,A=255)
VariableLinks(0)=(ExpectedType=class'SeqVar_Object',LinkDesc="Target",PropertyName=Targets)
}