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) |
(Updated) |
||
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 == | ||
Line 23: | Line 23: | ||
|- | |- | ||
| string | | string | ||
− | | | + | | modifierName |
| No Description Set | | No Description Set | ||
|- | |- | ||
| string | | string | ||
− | | | + | | fileName |
| No Description Set | | No Description Set | ||
|- | |- | ||
| int | | int | ||
− | | | + | | LuaModifierType |
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 00:11, 27 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 | modifierName | No Description Set |
string | fileName | No Description Set |
int | LuaModifierType | No Description Set |