Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SetControllableByPlayer: 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 SetControllableByPlayer(int '' | ''' void SetControllableByPlayer(int ''iIndex'', bool ''bSkipAdjustingPosition'') ''' | ||
''Set this unit controllable by the player with the passed ID.'' | ''Set this unit controllable by the player with the passed ID.'' | ||
Line 19: | Line 19: | ||
|- | |- | ||
| int | | int | ||
| | | iIndex | ||
| No Description Set | | No Description Set | ||
|- | |- | ||
| bool | | bool | ||
| | | bSkipAdjustingPosition | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 22:33, 19 June 2015

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 |