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

32 lines
941 B
Ucode

//=============================================================================
// KFAIController_ZedDAR_Laser
//=============================================================================
// AI Controller for Evulz Lazer DAR
//=============================================================================
// Killing Floor 2
// Copyright (C) 2018 Tripwire Interactive LLC
//=============================================================================
class KFAIController_ZedDAR_Laser extends KFAIController_ZedDAR;
function StartRangedAttack()
{
class'AICommand_DAR_LaserAttack'.static.LaserAttack(self);
}
function vector GetStartFireLocation()
{
local vector SocketLocation;
local rotator SocketRotation;
MyKFPawn.Mesh.GetSocketWorldLocationAndRotation(KFPawn_ZedDAR(MyKFPawn).FiringSocketName, SocketLocation, SocketRotation);
return SocketLocation;
}
defaultproperties
{
AimError=0.01f
}