Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.CanEntityBeSeenByMyTeam: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Clarified.)
m (clean up, added deadend tag)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
{{Note | This page is automatically generated.  Any changes may be overwritten}}
[[Category:Dota2Function]]
[[Category:CDOTA_BaseNPC]]


== Function Description ==
== Function Description ==


''' bool CanEntityBeSeenByMyTeam(handle ''hEntity'') '''


''' bool CanEntityBeSeenByMyTeam(handle ''a'') '''
''Check FoW to see if an entity is visible.''
 
''Can the parameter ent be seen by the given unit's team''
 
 


;Example
;Example
Line 23: Line 20:
|-
|-
| handle
| handle
| a
| hEntity
| No Description Set
| No Description Set
|}
|}
Line 29: Line 26:
== Returns ==
== Returns ==


''bool'' -
''bool'' - If the entity is visible
 
[[Category:Dota2Function]]
[[Category:CDOTA_BaseNPC]]

Latest revision as of 09:08, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

bool CanEntityBeSeenByMyTeam(handle hEntity)

Check FoW to see if an entity is visible.

Example
--some code here

Parameters

Type Name Description
handle hEntity No Description Set

Returns

bool - If the entity is visible