// Fill out your copyright notice in the Description page of Project Settings. #include "MerchantTriggerBox.h" #include "the_twilight_abyss/PlayerTemp/TempCharacter.h" //makes it so the component script is initialized when game starts UMerchantTriggerBox::UMerchantTriggerBox() { PrimaryComponentTick.bCanEverTick = true; } void UMerchantTriggerBox::BeginPlay() { Super::BeginPlay(); UE_LOG(LogTemp, Warning, TEXT("TRIGGER SPAWNED")); } void UMerchantTriggerBox::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) { Super::TickComponent(DeltaTime, TickType, ThisTickFunction); }