Category:UTIL: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 86: Line 86:
* [[UTIL_WorldToParentSpace]]
* [[UTIL_WorldToParentSpace]]
* [[UTIL_BoundToWorldSize]]
* [[UTIL_BoundToWorldSize]]
* [[UTIL_DistApprox]]
* [[UTIL_DistApprox2D]]
* [[UTIL_EntityHasMatchingRootParent]]
* [[UTIL_GetAchievementEventMask]]
* [[UTIL_StringFieldToInt]]


{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}
Line 115: Line 121:
* [[UTIL_SetTrace]]
* [[UTIL_SetTrace]]
* [[UTIL_ClearTrace]]
* [[UTIL_ClearTrace]]
* [[UTIL_ClipTraceToPlayers]]


{{category cell|background-color=white|border-color=white}}
{{category cell|background-color=white|border-color=white}}
Line 122: Line 129:
* [[UTIL_AngleMod]]
* [[UTIL_AngleMod]]
* [[UTIL_AngleDiff]]
* [[UTIL_AngleDiff]]
* [[UTIL_AngleDistance]]
{{category cell|background-color=#FBF7EA|border-color=white}}
{{category cell|background-color=#FBF7EA|border-color=white}}
== Utility Effects ==
== Utility Effects ==
Line 142: Line 151:
* [[UTIL_GetDebugColorForRelationship]]
* [[UTIL_GetDebugColorForRelationship]]
* [[UTIL_MuzzleFlash]]
* [[UTIL_MuzzleFlash]]
* [[UTIL_ParticleTracer]]
* [[UTIL_Tracer]]
* [[UTIL_IsLowViolence]]
== Pitch & Yaw ==
* [[UTIL_VecToYaw]]
* [[UTIL_VecToPitch]]
* [[UTIL_VecToYaw]]
* [[UTIL_VecToPitch]]
* [[UTIL_YawToVector]]


== Shared Random ==
* [[SharedRandomFloat]]
* [[SharedRandomInt]]
* [[SharedRandomVector]]
* [[SharedRandomAngle]]


{{category end}}__NOTOC__
{{category end}}__NOTOC__

Revision as of 23:20, 9 April 2011

UTIL(ities)

The Source Engine comes with a variety of built in Utilities, or UTIL_ functions. These range from things like the safe removal of objects, to TraceLines, and Precaching assets.

Blood

Finding Entities in Space


Set Properties

Other

Todo: Categorize these


Precaching

Traces

Modifying Angles

Utility Effects

Pitch & Yaw

Shared Random

Note.pngNote:This list is incomplete, and these functions are poorly categorized for now.