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

From Valve Developer Community
Jump to: navigation, 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
 
|}
 
|}

Latest revision as of 05:33, 20 June 2015

Note: 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