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)
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 ==

Revision as of 23:56, 26 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 string_1 No Description Set
string string_2 No Description Set
int int_3 No Description Set