Point push: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
==Entity Description==
==Entity Description==
Push sphere
Push sphere
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* {{kv parentname}}
* {{kv parentname}}
* '''enabled'''
 
: {{boolean}} Start enabled
*; enabled {{boolean}} : Start enabled.
* '''magnitude'''
 
: <float> How strongly to push away from the center.
*; magnitude <float> : How strongly to push away from the center.
* '''radius'''
 
: <float> Radius to affect items in.
*; radius <float> : Radius to affect items in.
* '''inner_radius'''
 
: <float> How strongly to push away from the center.
*; inner_radius <float> : How strongly to push away from the center.
 
==Flags==
* 1 : Test LOS before pushing : 0
* 2 : Use angles for push direction : 0
* 4 : No falloff (constant push at any distance) : 0
* 8 : Push players : 1
* 16 : Push physics : 1
 
==Inputs==
==Inputs==
*{{i targetname}}
*{{i targetname}}
*{{i parentname}}
*{{i parentname}}
*{{i enabledisable}}
 
*; Enable : Enable the push.
 
*; Disable : Disable the push.
 
==Outputs==
==Outputs==
*{{o targetname}}
*{{o targetname}}
[[Entities]]
[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode One Entities]]

Revision as of 01:15, 3 March 2008

Template:Wrongtitle

Entity Description

Push sphere

Keyvalues

  • magnitude <float>
    How strongly to push away from the center.
  • radius <float>
    Radius to affect items in.
  • inner_radius <float>
    How strongly to push away from the center.

Flags

  • 1 : Test LOS before pushing : 0
  • 2 : Use angles for push direction : 0
  • 4 : No falloff (constant push at any distance) : 0
  • 8 : Push players : 1
  • 16 : Push physics : 1

Inputs

  • Enable
    Enable the push.
  • Disable
    Disable the push.

Outputs

Entities