Difference between revisions of "Dota 2 Workshop Tools/Scripting/API/Global.LinkLuaModifier"

From Valve Developer Community
Jump to: navigation, search
(Dota_Lebot push: Updated Page)
(Updated)
Line 6: Line 6:
  
  
''' void LinkLuaModifier(string ''string_1'', string ''string_2'', int ''int_3'') '''
+
''' void LinkLuaModifier(string ''modifierName'', string ''fileName'', int ''LuaModifierType'') '''
  
 
''Link a lua-defined modifier with the associated class.''
 
''Link a lua-defined modifier with the associated class.''
Line 14: Line 14:
 
;Example
 
;Example
 
<source lang="lua">
 
<source lang="lua">
function LinkLuaModifier( string_1, int_2 ) end
+
function LinkLuaModifier( string_1, string_2, int_3 ) end
 
</source>
 
</source>
 
== Parameters ==
 
== Parameters ==
Line 23: Line 23:
 
|-
 
|-
 
| string
 
| string
| string_1
+
| modifierName
 
| No Description Set
 
| No Description Set
 
|-
 
|-
 
| string
 
| string
| string_2
+
| fileName
 
| No Description Set
 
| No Description Set
 
|-
 
|-
 
| int
 
| int
| int_3
+
| LuaModifierType
 
| No Description Set
 
| No Description Set
 
|}
 
|}

Revision as of 00:11, 27 June 2015

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

Function Description

void LinkLuaModifier(string modifierName, string fileName, int LuaModifierType)

Link a lua-defined modifier with the associated class.


Example
function LinkLuaModifier( string_1, string_2, int_3 ) end

Parameters

Type Name Description
string modifierName No Description Set
string fileName No Description Set
int LuaModifierType No Description Set