Updated Build for Pick Up Book & Gun Quest

This commit is contained in:
Philip W 2023-05-11 04:47:59 +01:00
parent 53126c6b10
commit 88f73fe5db
9 changed files with 21 additions and 9 deletions

BIN
Content/Assets/Gun/GunMaterialNoDrawOver.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Assets/Gun/SM_MERGED_Gun_Book.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Assets/Gun/SM_MERGED_Gun_Book_Blueprint.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Levels/Build.umap (Stored with Git LFS)

Binary file not shown.

View File

@ -64,6 +64,7 @@ void UHoldToInitCombat::TickComponent(float DeltaTime, ELevelTick TickType, FAct
void UHoldToInitCombat::OnClickDown()
{
if (!bHasBookAndGun) return;
if (Cast<ATurnBaseCombatV2>(GetWorld()->GetGameState())->bIsInCombat) return;
if (ReloadTimer > 0.0f) return;
if (GunEffect)

View File

@ -24,6 +24,8 @@ public:
UUserWidget* InitCombatWidget;
UPROPERTY()
TSubclassOf<UUserWidget> InitCombatWidgetClass;
UPROPERTY(BlueprintReadWrite)
bool bHasBookAndGun = false;
UPROPERTY()
UNiagaraSystem* GunEffect;