Template:O BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{note|Page left for viewable history, content moved to prop_physics}}")
Tag: Replaced
 
(13 intermediate revisions by 7 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>
: Fired when motion is enabled on this prop, either via the "Health Level to Override Motion" keyvalue or from the <code>EnableMotion</code> input.
; <code>OnAwakened</code>
: Fired when this prop wakes (force has been applied to it while it was asleep).
; {{EP1 add|<code>OnPhysGunOnlyPickup</code>}}
: Fired when a player picks the prop up with the Gravity Gun.
; {{EP1 add|<code>OnPlayerPickup</code>}}
: As above, but picking up in your hands with +USE also counts.
; <code>OnPhysGunDrop</code>
: Fired when a player drops the prop. {{PlAct}}
; <code>OnPlayerUse</code>
: Fired when a player tries to +USE the prop. {{PlAct}} {{note|This output will fire only if the "Generate output on +USE" spawnflag is set.}}
; {{EP2 add|<code>OnOutOfWorld</code>}}
; {{EP2 add|<code>OnHealthChanged</code>}}
; {{EP2 add|<code>OnTakeDamage</code>}}
{{O Targetname}}
}}

Latest revision as of 07:55, 2 July 2024

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