21 lines
762 B
C++
Executable file
21 lines
762 B
C++
Executable file
#include "HangingFireCracker.h"
|
|
#include "Components/SkeletalMeshComponent.h"
|
|
#include "NiagaraComponent.h"
|
|
#include "FSDAudioComponent.h"
|
|
#include "InstantUsable.h"
|
|
|
|
void AHangingFireCracker::StartFire() {
|
|
}
|
|
|
|
AHangingFireCracker::AHangingFireCracker() {
|
|
this->Usable = CreateDefaultSubobject<UInstantUsable>(TEXT("Usable"));
|
|
this->SKMesh = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("Root"));
|
|
this->MovingSparks = CreateDefaultSubobject<UNiagaraComponent>(TEXT("MovingSparks"));
|
|
this->FuseSound = CreateDefaultSubobject<UFSDAudioComponent>(TEXT("FuseSound"));
|
|
this->CrackerExplosion = NULL;
|
|
this->CrackerExplosionCue = NULL;
|
|
this->SparkSpeed = 20.00f;
|
|
this->ExplodeRange = 40.00f;
|
|
this->ExplodeImpulse = 100.00f;
|
|
}
|
|
|