Function
Fast
Weapon:SetWallbangSettings
Sets how the bullet will pass through walls
Syntax
my_weapon:SetWallbangSettings(max_distance, damage_multiplier)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
max_distance
|
integer | — | Max distance to pass through another wall |
damage_multiplier
|
float | — | Damage given if wallbangged |