Dota 2 Workshop Tools/Scripting/API/CRPG Unit.IsFacing: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(Dota_Lebot push: Updated Page)
Line 4: Line 4:




''' bool IsFacing(Vector '''', float '''') '''
''' bool IsFacing(Vector ''a'', float ''b'') '''


''( vecTargetPosition, flAngleTolerance ) - returns true if the unit is within flAngleTolerance degrees of the target position''
''( vecTargetPosition, flAngleTolerance ) - returns true if the unit is within flAngleTolerance degrees of the target position''
Line 17: Line 17:
|-
|-
| Vector
| Vector
|  
| a
| No Description Set
| No Description Set
|-
|-
| float
| float
|  
| b
| No Description Set
| No Description Set
|}
|}

Revision as of 00:19, 9 August 2014

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

bool IsFacing(Vector a, float b)

( vecTargetPosition, flAngleTolerance ) - returns true if the unit is within flAngleTolerance degrees of the target position


Parameters

Type Name Description
Vector a No Description Set
float b No Description Set

Returns

bool - No Description Set