OnTouch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '== OnTouch == The OnTouch function is used for when a player collides with a trigger brush. The OnTouch is set in Hammer, but may also have several functions in the C++ code (for…')
 
m (cat)
 
Line 1: Line 1:
== OnTouch ==
== OnTouch ==
The OnTouch function is used for when a player collides with a trigger brush. The OnTouch is set in Hammer, but may also have several functions in the C++ code (for example call another function if a condition is true or not)
The OnTouch [[output]] is used for when a player collides with a [[trigger]] [[brush]]. The OnTouch is set in [[Hammer]], but may also have several functions in the C++ code (for example call another function if a condition is true or not)
 
[[Category:Level Design]]

Latest revision as of 14:08, 19 March 2011

OnTouch

The OnTouch output is used for when a player collides with a trigger brush. The OnTouch is set in Hammer, but may also have several functions in the C++ code (for example call another function if a condition is true or not)