Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCameraTarget
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search

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 |