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

Tyrion.AI_MoveToGoal


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
//=====================================================================
// AI_MoveToGoal
//=====================================================================

class AI_MoveToGoal extends AI_MovementGoal
	editinlinenew;

//=====================================================================
// Variables

var(Parameters) editinline Name destinationName "A path node label";
var(Parameters) Character.SkiCompetencyLevels skiCompetency "How well the AI can ski";
var(Parameters) Character.JetCompetencyLevels jetCompetency "How well the AI can jetpack";
var(Parameters) Character.GroundMovementLevels groundMovement "Desired ground movement mode";
var(Parameters) float terminalDistanceXY "How close the AI must get to its destination in XY";
var(Parameters) float terminalDistanceZ "How close the AI must get to its destination in Z";
var(Parameters) float energyUsage "How much energy the AI must have when the action completes";
var(Parameters) float terminalVelocity "How fast the AI should be going when it reaches its destination";
var(Parameters) float terminalHeight "How high above the ground the AI should be when it reaches its destination";
var(Parameters) Rotator terminalRotation "Which way the AI should be facing when it reaches its destination";

var(InternalParameters) editconst Vector destination;

//=====================================================================
// Functions

overloaded function construct( AI_Resource r, int pri, Vector _destination,
	optional Character.SkiCompetencyLevels _skiCompetency, optional Character.JetCompetencyLevels _jetCompetency,
	optional Character.GroundMovementLevels _groundMovement,
	optional float _energyUsage, optional float _terminalVelocity, optional float _terminalHeight,
	optional float _terminalDistanceXY, optional float _terminalDistanceZ, optional Rotator _terminalRotation )
{
	priority = pri;
	destination = _destination;
	skiCompetency = _skiCompetency;
	jetCompetency = _jetCompetency;
	groundMovement = _groundMovement;
	terminalDistanceXY = _terminalDistanceXY;
	terminalDistanceZ = _terminalDistanceZ;
	energyUsage = _energyUsage;
	terminalVelocity = _terminalVelocity;
	terminalHeight = _terminalHeight;
	terminalRotation = _terminalRotation;

	super.construct( r );
}
 
//=====================================================================

defaultproperties
{
	bInactive = false
	bPermanent = false
	priority = 31
}


Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 15:54:26.000 - Creation time: st 23.5.2018 00:10:41.451 - Created with UnCodeX