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

Engine.InterpGroupInstAI


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
00078
00079
00080
00081
00082
00083
/**
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 */
class InterpGroupInstAI extends InterpGroupInst
	native(Interpolation);

/**
 * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
 *
 * 
 * An instance of an InterpGroup for a particular Actor. There may be multiple InterpGroupInsts for a single
 * InterpGroup in the InterpData, if multiple Actors are connected to the same InterpGroup. 
 * The Outer of an InterpGroupInst is the SeqAct_Interp
 */

cpptext
{
	/** 
	 *	Returns the Actor that this GroupInstance is working on. 
	 *	Should use this instead of just referencing GroupActor, as it check bDeleteMe for you.
	 */
	virtual AActor* GetGroupActor();

	virtual UBOOL HasActor(AActor * InActor);

	/** 
	 *	Initialze this Group instance. Called from USeqAct_Interp::InitInterp before doing any interpolation.
	 *	Save the Actor for the group and creates any needed InterpTrackInsts
	 */
	virtual void InitGroupInst( UInterpGroup* InGroup, AActor* InGroupActor );

	/** 
	 *	Initialze this Group instance from Seq Variable
	 */
	void UpdatePreviewPawnFromSeqVarCharacter( UInterpGroup* InGroup, const USeqVar_Character* InGroupObject );

	/**
	 * Create Preview Pawn/Destroy Preview Pawn
	 */ 
	void CreatePreviewPawn();
	void DestroyPreviewPawn();

	/**
	 * Get Stage Mark Actor ground position & rotation
	 */
	FVector     GetStageMarkPosition(FRotator* Rotation = NULL);
	
	/** 
	 *  Update Stage Mark Group Actor
	 */ 
	void UpdateStageMarkGroupActor(USeqAct_Interp * Seq);


	/** 
	 *	Called when done with interpolation sequence. Cleans up InterpTrackInsts etc. 
	 *	Do not do anything further with the Interpolation after this.
	 */
	virtual void TermGroupInst(UBOOL bDeleteTrackInst);

	/** 
	 *  Update Physics state if it includes Movement Track 
	 *  Or terminate if bInit = FALSE
	 */ 
	void UpdatePhysics(UBOOL bInit);
}

/** Cache data to AIGroup **/
var transient InterpGroupAI AIGroup;

/** Saved Physics state to go back to **/
var EPhysics  	SavedPhysics;
var bool        bSavedNoEncroachCheck;

/** Preview Pawn for only editor - in game it should be AI **/
var   editoronly transient Pawn PreviewPawn;

/** Stage Mark Actor - from StageMark Group **/
var transient Actor   StageMarkActor;

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: må 14-2-2011 21:42:06.000 - Creation time: ti 22-3-2011 19:57:07.091 - Created with UnCodeX