PCYPC\pcy35 2023-11-06 20:56:12 +09:00
commit 0edeb4d14c
10 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -694,6 +694,8 @@ void AMasterAI::SetDead(bool Condition)
return; return;
bIsDead = Condition; bIsDead = Condition;
StateManagerComponent->SetCurrentState(FCombatGameplayTags::Get().Character_State_Dead);
AAIController* aiController = Cast<AAIController>(GetController()); AAIController* aiController = Cast<AAIController>(GetController());
if(aiController) if(aiController)
{ {

View File

@ -136,9 +136,9 @@ private:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Hit", meta = (AllowPrivateAccess = "true")) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Hit", meta = (AllowPrivateAccess = "true"))
FName PelvisBoneName; FName PelvisBoneName;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Hit", meta = (AllowPrivateAccess = "true")) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Effects|Hit", meta = (AllowPrivateAccess = "true"))
TObjectPtr<class USoundBase> HitSound; TObjectPtr<class USoundBase> HitSound;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Hit", meta = (AllowPrivateAccess = "true")) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Effects|Hit", meta = (AllowPrivateAccess = "true"))
TObjectPtr<class UNiagaraSystem> HitEmitter; TObjectPtr<class UNiagaraSystem> HitEmitter;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MovementSpeed", meta = (AllowPrivateAccess = "true")) UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MovementSpeed", meta = (AllowPrivateAccess = "true"))