Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SetControllableByPlayer
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search

Function Description
void SetControllableByPlayer(int iIndex, bool bSkipAdjustingPosition)
Set this unit controllable by the player with the passed ID.
Parameters
Type | Name | Description |
---|---|---|
int | iIndex | No Description Set |
bool | bSkipAdjustingPosition | No Description Set |