Template:O BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(OnHitByTank)
(Replaced content with "{{note|Page left for viewable history, content moved to prop_physics}}")
Tag: Replaced
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ScrollBox|title=BasePropPhysics|noscroll=true|
{{note|Page left for viewable history, content moved to [[prop_physics]]}}
; <code>OnMotionEnabled</code>
: Motion has been enabled on the prop, either via the "Health Level to Override Motion" keyvalue or from the <code>EnableMotion</code> input.
; <code>OnAwakened</code>
: The prop has woken (force has been applied to it while it was asleep, or the <code>wake</code> input has been called).
; {{EP1 add|<code>OnPhysGunOnlyPickup</code>}}
: Player has picked the prop up with the Gravity Gun.
; {{EP1 add|<code>OnPlayerPickup</code>}}
: Player has picked the prop up with +USE or the Gravity Gun.
; <code>OnPhysGunDrop</code>
: Player has dropped the prop (from either hands or Gravity Gun). {{PlAct}}
; <code>OnPlayerUse</code>
: Player has +USEd the prop. {{PlAct}} {{note|This output will fire only if the "Generate output on +USE" spawnflag is set.}}
; {{EP2 add|<code>OnOutOfWorld</code>}}
: Not in a [[Visleaf|leaf]]?
; {{EP2 add|<code>OnHealthChanged</code>}}
; {{EP2 add|<code>OnTakeDamage</code>}}
: Prop's health has changed
; {{l4d2 add|<code>OnHitByTank</code>}}
: Prop has been punched by a Tank boss infected.
{{O Targetname}}
}}

Latest revision as of 07:55, 2 July 2024

Note.pngNote:Page left for viewable history, content moved to prop_physics