Template:I BreakableProp: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) m (Added to Input Templates category) |
(Merged with Template:I Breakable.) |
||
Line 1: | Line 1: | ||
In fact, this template is {{tl2|I Breakable|prop{{=}}1|brush{{=}}0}}. | |||
{{ | * {{param|nohl2|0}} - If nonzero, hides [[weapon_physcannon]] related inputs. | ||
The following is the result with no parameters. | |||
{{ | |||
{{ | {{ {{PAGENAME}} }} | ||
<onlyinclude><includeonly>{{I Breakable|prop=1|brush=0|nohl2={{{nohl2|0}}}}}</includeonly></onlyinclude> | |||
[[Category:Input Templates|BreakableProp]] | [[Category:Input Templates|BreakableProp]] | ||
Revision as of 20:10, 25 April 2022
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.