Modular Turret C++ Plugin
Version 3
Turret C++ Unreal engine 4 plugin
|
Public Member Functions | |
AMortarMineProjectile () | |
void | OnStartExplosionEvent () |
Public Member Functions inherited from AMortarProjectile | |
AMortarProjectile () | |
void | ExplosionEvent () |
float | GetDestoryDelay () const |
float | GetProjectileDamage () const |
void | SetAvoidSameTeamDamage (const bool &ShouldAvoidSameDamage) |
void | SetDestroyDelay (const float &DestroyDelay) |
void | SetProjectileDamage (const float &ProjectileDamage) |
bool | ShouldAvoidSameTeamDamage () const |
Protected Member Functions | |
void | OnHit (UPrimitiveComponent *HitComponent, AActor *OtherActor, UPrimitiveComponent *OtherComponent, FVector NormalImpulse, const FHitResult &Hit) override |
Protected Member Functions inherited from AMortarProjectile | |
virtual void | BeginPlay () override |
virtual void | ProjectileDestroyerTimer () |
Protected Attributes | |
float | BlastDelay = 2.5f |
Protected Attributes inherited from AMortarProjectile | |
bool | bAvoidSameTeamDamage = false |
UStaticMeshComponent * | CollisionMesh = nullptr |
float | DestroyDelay = 2.f |
class URadialForceComponent * | ExplosionForce = nullptr |
UParticleSystemComponent * | ImpactBlast = nullptr |
class USoundBase * | ImpactSound |
UParticleSystemComponent * | LaunchBlast = nullptr |
class UNiagaraComponent * | NiagaraImpactBlast = nullptr |
class UNiagaraComponent * | NiagaraLaunchBlast = nullptr |
class UNiagaraComponent * | NiagaraTrailParticle = nullptr |
float | ProjectileDamage = 10.f |
class UProjectileMovementComponent * | ProjectileMovement = nullptr |
UParticleSystemComponent * | TrailParticle = nullptr |
Private Member Functions | |
void | ProjectileBlastTimer () |
Private Attributes | |
uint32 | bAlreadyHit: 1 |
TArray< AActor * > | IgnoredActor |
Mine Bomb Projectile class which blasts after some delay
AMortarMineProjectile::AMortarMineProjectile | ( | ) |
|
overrideprotectedvirtual |
After Collision With The Object Blast Timer Will start
Reimplemented from AMortarProjectile.
void AMortarMineProjectile::OnStartExplosionEvent | ( | ) |
Event Called After On Hit This is a blueprintImplementableEvent which has to be used in blueprint
|
private |
After How Long The Blast Will Occur
|
private |
|
protected |
Delay AFter Which The Projectile Will Blast
|
private |
Contains Ignored Actor List