Implemented Spotted Functionality for Stealth Area Checkpoint
This commit is contained in:
parent
9a80958e0e
commit
e8a77d9293
BIN
EndlessVendetta/Content/BountySystem/Tutorial/BountySpecificActors/SneakAI/BP_SneakAI.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/BountySystem/Tutorial/BountySpecificActors/SneakAI/BP_SneakAI.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/BountySystem/Tutorial/BountySpecificActors/SneakAI/WBP_Spotted.uasset
(Stored with Git LFS)
Normal file
BIN
EndlessVendetta/Content/BountySystem/Tutorial/BountySpecificActors/SneakAI/WBP_Spotted.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
EndlessVendetta/Content/BountySystem/Tutorial/Checkpoints/CP_SneakTraining.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/BountySystem/Tutorial/Checkpoints/CP_SneakTraining.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/Levels/TempLevels/NewTutorialMap.umap
(Stored with Git LFS)
BIN
EndlessVendetta/Content/Levels/TempLevels/NewTutorialMap.umap
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset
(Stored with Git LFS)
Binary file not shown.
@ -70,8 +70,8 @@ void AEnemyCharacter::SetHostilityLevel(const EHostilityLevel NewHostilityLevel)
|
||||
if (NewHostilityLevel == EHostilityLevel::Hostile)
|
||||
{
|
||||
if (!IsValid(GetController())) return;
|
||||
BecameHostile.Broadcast();
|
||||
Cast<AAIController>(GetController())->GetBlackboardComponent()->SetValueAsBool("IsHostile", true);
|
||||
BecameHostile.Broadcast();
|
||||
}
|
||||
HostilityLevel = NewHostilityLevel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user