Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCameraTarget: 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:




''' void SetCameraTarget(int ''a'', handle ''b'') '''
''' void SetCameraTarget(int ''nPlayerID'', handle ''hTarget'') '''


''(playerID, entity) - force the given player's camera to follow the given entity''
''(playerID, entity) - force the given player's camera to follow the given entity''
Line 19: Line 19:
|-
|-
| int
| int
| a
| nPlayerID
| No Description Set
| No Description Set
|-
|-
| handle
| handle
| b
| hTarget
| No Description Set
| No Description Set
|}
|}

Revision as of 10:36, 20 June 2015

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

Function Description

void SetCameraTarget(int nPlayerID, handle hTarget)

(playerID, entity) - force the given player's camera to follow the given entity


Parameters

Type Name Description
int nPlayerID No Description Set
handle hTarget No Description Set