Template:I BreakableProp: Difference between revisions
Jump to navigation
Jump to search
(Merged with Template:I Breakable.) |
1416006136 (talk | contribs) (add {{lang}}) |
||
Line 1: | Line 1: | ||
{{lang|Template:I BreakableProp}} | |||
In fact, this template is {{tl2|I Breakable|prop{{=}}1|brush{{=}}0}}. | In fact, this template is {{tl2|I Breakable|prop{{=}}1|brush{{=}}0}}. | ||
* {{param|nohl2|0}} - If nonzero, hides [[weapon_physcannon]] related inputs. | * {{param|nohl2|0}} - If nonzero, hides [[weapon_physcannon]] related inputs. |
Latest revision as of 01:54, 2 January 2023
In fact, this template is {{I Breakable|prop=1|brush=0}}.
- {{{nohl2|0}}} - If nonzero, hides weapon_physcannon related inputs.
The following is the result with no parameters.
BreakableProp:
- Break
- Breaks the breakable.
- SetHealth <integer>
- Sets a new value for the breakable's health. If the breakable's health reaches zero it will break.
- AddHealth <integer>
- Adds health to the breakable.
- RemoveHealth <integer>
- Removes health from the breakable.
- physdamagescale <float>
- Sets Physics Impact Damage Scale. 0 means this feature is disabled for backwards compatibility.
- EnablePhyscannonPickup
- Makes the breakable able to picked up by the gravity gun.
- DisablePhyscannonPickup
- Makes the breakable not able to picked up by the gravity gun.
- EnablePuntSound (in all games since
)
- Allow this prop from playing its Punt Sound sound when punted by the gravity gun.
- DisablePuntSound (in all games since
)
- Prevent this prop from playing its Punt Sound sound when punted by the gravity gun.