33 lines
945 B
C++
Executable file
33 lines
945 B
C++
Executable file
#include "SpiderEnemy.h"
|
|
#include "HitReactionComponent.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
#include "PawnStatsComponent.h"
|
|
|
|
void ASpiderEnemy::SetLookAtTarget(AActor* Target) {
|
|
}
|
|
|
|
void ASpiderEnemy::OnRep_LookAtTarget() {
|
|
}
|
|
|
|
UStaticMeshComponent* ASpiderEnemy::CreateHeadGore() {
|
|
return NULL;
|
|
}
|
|
|
|
|
|
void ASpiderEnemy::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(ASpiderEnemy, LookAtTarget);
|
|
}
|
|
|
|
ASpiderEnemy::ASpiderEnemy() {
|
|
this->PawnStats = CreateDefaultSubobject<UPawnStatsComponent>(TEXT("PawnStats"));
|
|
this->HitReactions = CreateDefaultSubobject<UHitReactionComponent>(TEXT("HitReactions"));
|
|
this->GoreMesh = NULL;
|
|
this->ApplyDifficultySpeedModifier = true;
|
|
this->AttackDamageModifier = 1.00f;
|
|
this->LimitRagdollSpeed = false;
|
|
this->MaxRagdollSpeed = 1000.00f;
|
|
this->LookAtTarget = NULL;
|
|
}
|
|
|