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

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




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


''Can the ent be seen by the given unit's team''
''Check FoW to see if an entity is visible.''




Line 23: Line 23:
|-
|-
| handle
| handle
| a
| hEntity
| No Description Set
| No Description Set
|}
|}
Line 29: Line 29:
== Returns ==
== Returns ==


''bool'' -
''bool'' - If the entity is visible

Revision as of 19:32, 19 June 2015

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