DRG-Femboy-Voice/Source/FSD/Private/HostileTargetingGuntowerModule.cpp
2025-04-15 12:39:31 -07:00

20 lines
700 B
C++
Executable file

#include "HostileTargetingGuntowerModule.h"
#include "Net/UnrealNetwork.h"
void AHostileTargetingGuntowerModule::OnPerceptionUpdated(AActor* sensedActor, FAIStimulus Stimulus) {
}
void AHostileTargetingGuntowerModule::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(AHostileTargetingGuntowerModule, TargetedActor);
}
AHostileTargetingGuntowerModule::AHostileTargetingGuntowerModule() {
this->TurretRotationSpeed = 0.00f;
this->TargetedActor = NULL;
this->TargetingRotationSpeed = 3.00f;
this->TimeUntilForgetTarget = 3.00f;
this->AlwaysUpdateAimRotation = true;
}