Template:O BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (accidentally broke it)
m (now scrolls if you want it to.)
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}
{{lang|{{FULLPAGENAME}}}}
*{{param|l4d2}}: set to 1 to add the <code>OnHitByTank</code> output.
<onlyinclude>{{ScrollBox|title=BasePropPhysics|noscroll={{{noscroll|}}}|
*{{param|nohl2}}: set to 1 to hide the <code>OnPhysGunOnlyPickup</code> output.
*{{param|portal2}}: set to 1 to add the <code>OnFizzled</code> output.
<onlyinclude>{{minititle|BasePropPhysics}}
{{IO|OnMotionEnabled|Fired when motion has been enabled on the prop, either via the '''Health Level to Override Motion''' keyvalue or from the <code>EnableMotion</code> input.}}
{{IO|OnMotionEnabled|Fired when motion has been enabled on the prop, either via the '''Health Level to Override Motion''' keyvalue or from the <code>EnableMotion</code> input.}}
{{IO|OnAwakened|Fired when the prop has woken (force has been applied to it while it was asleep, or the <code>Wake</code> input has been called).}}
{{IO|OnAwakened|Fired when the prop has woken (force has been applied to it while it was asleep, or the <code>Wake</code> input has been called).}}
Line 13: Line 10:
-->{{#if:{{{nohl2|}}}||{{IO|OnPhysGunOnlyPickup|Fired when the player has picked the prop up with the gravity gun specifically.}}}}<!--
-->{{#if:{{{nohl2|}}}||{{IO|OnPhysGunOnlyPickup|Fired when the player has picked the prop up with the gravity gun specifically.}}}}<!--
-->{{#if: {{{l4d2|}}}|{{IO|OnHitByTank|since=l4d2|Fired when the prop has been punched by a Tank boss infected.}} }}<!--
-->{{#if: {{{l4d2|}}}|{{IO|OnHitByTank|since=l4d2|Fired when the prop has been punched by a Tank boss infected.}} }}<!--
-->{{#if: {{{portal2|}}} | {{O BaseAnimating|portal2=1}} | {{O BaseAnimating}} }}</onlyinclude>[[Category:Output Templates|BasePropPhysics]]
-->{{#if: {{{portal2|}}} | {{O BaseAnimating|portal2=1}} | {{O BaseAnimating}} }}}}</onlyinclude>
{{documentation}}

Revision as of 11:20, 19 May 2022

BasePropPhysics:
OnMotionEnabled
Fired when motion has been enabled on the prop, either via the Health Level to Override Motion keyvalue or from the EnableMotion input.
OnAwakened
Fired when the prop has woken (force has been applied to it while it was asleep, or the Wake input has been called).
OnOutOfWorld
Fired whenever the object is detected to be outside the world. Specifically, it checks if the object is outside of the world's bounding box or if the object is traveling at over 2000 units per second in any cardinal direction.
OnPlayerUse
Fired when the player has +used the prop.
Note.pngNote:This output (but not any of the other pickup-related ones) will fire only if the Generate output on +USE spawnflag is set.
OnPhysGunDrop
Fired when the player has dropped the prop (from either +use or the gravity gun). !activator is the player.
OnPlayerPickup
Fired when the player has picked the prop up with +use or the gravity gun (in Half-Life 2).
OnPhysGunOnlyPickup
Fired when the player has picked the prop up with the gravity gun specifically.
Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:O BasePropPhysics/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Template:O BasePropPhysics/doc