Documentation: DamageNearbyEntitiesComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
radius | float | 10 | ||
damage_min | float | 0.1 | ||
damage_max | float | 0.2 | ||
target_vec_max_len | float | 5 | ||
knockback_multiplier | float | 1 | ||
time_between_damaging | int | 20 | ||
damage_description | std::string | bite | ||
target_tag | std::string | mortal | ||
Custom data types | ||||
damage_type | DAMAGE_TYPES::Enum | NONE | the damage type | |
ragdoll_fx | RAGDOLL_FX::Enum | NONE | ||
Privates | ||||
mVelocity | vec2 | (0, 0) | ||
mNextDamageFrame | int | 0 |