Updated Combat UI to Display Enemy Name
This commit is contained in:
parent
fa6ca7835a
commit
bc0aad5f6b
BIN
Content/BlueprintAI/AI/AIBruh.uasset
(Stored with Git LFS)
BIN
Content/BlueprintAI/AI/AIBruh.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/BlueprintAI/AI/AIBruh_Boss.uasset
(Stored with Git LFS)
BIN
Content/BlueprintAI/AI/AIBruh_Boss.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/Combat_UI.uasset
(Stored with Git LFS)
Binary file not shown.
@ -82,7 +82,9 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy, const bool bWasShot)
|
||||
LookAtRotation.Pitch = NewRotation.Pitch - PlayerActor->GetActorRotation().Pitch;
|
||||
LookAtRotation.Pitch += 10; //Offset
|
||||
PlayerController->SetControlRotation(LookAtRotation);
|
||||
EnemyName = FText::FromString("Crystal Mutant");
|
||||
}
|
||||
else EnemyName = FText::FromString("Feral Goat");
|
||||
|
||||
if (IsValid(CombatTutorialWidgetInstance) && CombatTutorialWidgetInstance->IsInViewport()) return;
|
||||
if (!HasSeenTutorial)
|
||||
|
@ -28,6 +28,9 @@ public:
|
||||
UPROPERTY(BlueprintReadOnly)
|
||||
bool bIsInCombat = false;
|
||||
|
||||
UPROPERTY(BlueprintReadOnly)
|
||||
FText EnemyName = FText::FromString("Enemy");
|
||||
|
||||
UPROPERTY()
|
||||
float BaseDamageMultiplier = 1.0f;
|
||||
UPROPERTY(EditDefaultsOnly)
|
||||
|
Loading…
Reference in New Issue
Block a user