Updated Build for Pick Up Book & Gun Quest
This commit is contained in:
parent
53126c6b10
commit
88f73fe5db
BIN
Content/Assets/Gun/GunMaterialNoDrawOver.uasset
(Stored with Git LFS)
Normal file
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
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
BIN
Content/Assets/Gun/SM_MERGED_Gun_Book_Blueprint.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Combat_UI/CombatCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Quests/Quest_Start.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Quests/Quest_Start.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Dialogue/SM_Merchant_Blueprint.uasset
(Stored with Git LFS)
BIN
Content/Dialogue/SM_Merchant_Blueprint.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
BIN
Content/Levels/Build.umap
(Stored with Git LFS)
Binary file not shown.
@ -64,6 +64,7 @@ void UHoldToInitCombat::TickComponent(float DeltaTime, ELevelTick TickType, FAct
|
|||||||
|
|
||||||
void UHoldToInitCombat::OnClickDown()
|
void UHoldToInitCombat::OnClickDown()
|
||||||
{
|
{
|
||||||
|
if (!bHasBookAndGun) return;
|
||||||
if (Cast<ATurnBaseCombatV2>(GetWorld()->GetGameState())->bIsInCombat) return;
|
if (Cast<ATurnBaseCombatV2>(GetWorld()->GetGameState())->bIsInCombat) return;
|
||||||
if (ReloadTimer > 0.0f) return;
|
if (ReloadTimer > 0.0f) return;
|
||||||
if (GunEffect)
|
if (GunEffect)
|
||||||
|
@ -24,6 +24,8 @@ public:
|
|||||||
UUserWidget* InitCombatWidget;
|
UUserWidget* InitCombatWidget;
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
TSubclassOf<UUserWidget> InitCombatWidgetClass;
|
TSubclassOf<UUserWidget> InitCombatWidgetClass;
|
||||||
|
UPROPERTY(BlueprintReadWrite)
|
||||||
|
bool bHasBookAndGun = false;
|
||||||
|
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
UNiagaraSystem* GunEffect;
|
UNiagaraSystem* GunEffect;
|
||||||
|
Loading…
Reference in New Issue
Block a user