EtG Modding Guide
Search…
⌃K

PierceProjModifier

This is the component that allows projectiles to penetrate multiple actors, and continue to travel. It is intended to be applied to projectiles.

Public Variables

Name
Type
Notes
Default Value
penetration
int
Controls how many actors the projectile is allowed to pierce through.
1
penetratesBreakables
bool
If set to true, the projectile will pierce through breakable objects.
false
preventPenetrationOfActors
bool
If set to true, the projectile will not pierce objects with healthHaver components (usually referring to enemies).
false
BeastModeLevel
BeastModeStatus
If set to BEAST_MODE_LEVEL_ONE, then upon impacting a major breakable object that is not a secret wall and does not have 'ImmuneToBeastMode' set to true, 1000 damage will be dealt to the major breakable.
NOT_BEAST_MODE
UsesMaxBossImpacts
bool
Upon impacting a boss actor, if this variable is set to true 'm_bossImpacts' increments by 1. If the amount of stored boss impacts exceeds the maximum defined in 'MaxBossImpacts', then the projectile loses all ability to pierce or, interestingly, bounce.
false
MaxBossImpacts
int
Determines the maximum amount of times the projectile is allowed to impact a boss actor if 'UsesMaxBossImpacts' is true.
-1

Private Variables

Name
Type
Notes
m_bossImpacts
int
Stores the amount of times the projectile has impacted a boss actor if 'UsesMaxBossImpacts' is set to true.