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

From Valve Developer Community
Jump to: navigation, search
m
m
Line 14: Line 14:
 
;Example
 
;Example
 
<source lang="lua">
 
<source lang="lua">
function CreateModifierThinker( handle_1, handle_2, string_3, handle_4, Vector_5, int_6, bool_7 ) end
+
function CreateModifierThinker( hCaster, hAbility, modifierName, paramTable, vOrigin, nTeamNumber, bPhantomBlocker) end
 
</source>
 
</source>
 
== Parameters ==
 
== Parameters ==

Revision as of 07:08, 20 August 2015

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

Function Description

handle CreateModifierThinker(handle hCaster, handle hAbility, string modifierName, handle paramTable, Vector vOrigin, int nTeamNumber, bool bPhantomBlocker)

Create a modifier not associated with an NPC. ( hCaster, hAbility, modifierName, paramTable, vOrigin, nTeamNumber, bPhantomBlocker )


Example
function CreateModifierThinker( hCaster, hAbility, modifierName, paramTable, vOrigin, nTeamNumber, bPhantomBlocker) end

Parameters

Type Name Description
handle handle_1 No Description Set
handle handle_2 No Description Set
string string_3 No Description Set
handle handle_4 No Description Set
Vector Vector_5 No Description Set
int int_6 No Description Set
bool bool_7 No Description Set

Returns

handle - No Description Set