Difference between revisions of "Dota 2 Workshop Tools/Scripting/API/Global.LinkLuaModifier"
< Dota 2 Workshop Tools | Scripting | API
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
|||
Line 6: | Line 6: | ||
− | ''' void LinkLuaModifier(string '' | + | ''' 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, | + | function LinkLuaModifier( string_1, string_2, int_3 ) end |
</source> | </source> | ||
== Parameters == | == Parameters == |
Revision as of 23:56, 26 June 2015

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 |