Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.SetControllableByPlayer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
(Dota_Lebot push: Updated Page)
Line 6: Line 6:




''' void SetControllableByPlayer(int ''a'', bool ''b'') '''
''' 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
| a
| iIndex
| No Description Set
| No Description Set
|-
|-
| bool
| bool
| b
| bSkipAdjustingPosition
| No Description Set
| No Description Set
|}
|}

Revision as of 22:33, 19 June 2015

Note.pngNote: This page is automatically generated. Any changes may be overwritten

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