Dota 2 Workshop Tools/Scripting/API/Global.LinkLuaModifier: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
		
		
		
		Jump to navigation
		Jump to search
		 (Updated)  | 
				RoyAwesome (talk | contribs)   (Dota_Lebot push: Updated Page)  | 
				||
| Line 6: | Line 6: | ||
''' void LinkLuaModifier(string ''  | ''' void LinkLuaModifier(string ''string_1'', string ''string_2'', int ''int_3'') '''  | ||
''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,   | function LinkLuaModifier( string_1, int_2 ) end  | ||
</source>  | </source>  | ||
== Parameters ==  | == Parameters ==  | ||
| Line 23: | Line 23: | ||
|-  | |-  | ||
| string  | | string  | ||
|   | | string_1  | ||
| No Description Set  | | No Description Set  | ||
|-  | |-  | ||
| string  | | string  | ||
|   | | string_2  | ||
| No Description Set  | | No Description Set  | ||
|-  | |-  | ||
| int  | | int  | ||
|   | | int_3  | ||
| No Description Set  | | No Description Set  | ||
|}  | |}  | ||
Revision as of 02:05, 27 June 2015
Function Description
void LinkLuaModifier(string string_1, string string_2, int int_3)
Link a lua-defined modifier with the associated class.
- Example
 
function LinkLuaModifier( string_1, int_2 ) end
Parameters
| Type | Name | Description | 
|---|---|---|
| string | string_1 | No Description Set | 
| string | string_2 | No Description Set | 
| int | int_3 | No Description Set |