Dota 2 Workshop Tools/Scripting/API/Global.CreateModifierThinker

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
Note.pngNote: 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 hCaster No Description Set
handle hAbility No Description Set
string modifierName No Description Set
handle paramTable No Description Set
Vector vOrigin No Description Set
int nTeamNumber No Description Set
bool bPhantomBlocker No Description Set

Returns

handle - No Description Set