Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetCameraTarget

From Valve Developer Community
Jump to: navigation, search
Note.png Note:  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


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