Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCameraTarget: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' void SetCameraTarget(int '' | ''' 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 | ||
| | | nPlayerID | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| handle | | handle | ||
| | | hTarget | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 10:36, 20 June 2015

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 |