Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.Purge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "Category:Dota2Function Category:CDOTA_BaseNPC == Function Description == ''' void Purge(bool RemovePositiveBuffs, bool RemoveDebuffs, bool BuffsCreatedThisFrameOnly...")
 
m (clean up, added deadend tag)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Dota2Function]]
{{Dead end|date=January 2024}}
[[Category:CDOTA_BaseNPC]]
 
{{Note | This page is automatically generated.  Any changes may be overwritten}}


== Function Description ==
== Function Description ==


''' void Purge(bool ''bRemovePositiveBuffs'', bool ''bRemoveDebuffs'', bool ''bFrameOnly'', bool ''bRemoveStuns'', bool ''bRemoveExceptions'') '''


''' void Purge(bool RemovePositiveBuffs, bool RemoveDebuffs, bool BuffsCreatedThisFrameOnly, bool RemoveStuns, bool RemoveExceptions) '''
''(bool RemovePositiveBuffs, bool RemoveDebuffs, bool BuffsCreatedThisFrameOnly, bool RemoveStuns, bool RemoveExceptions''


''Removes certain type of modifiers on this unit.''
;Example
<source lang="lua">
function CDOTA_BaseNPC:Purge( bRemovePositiveBuffs, bRemoveDebuffs, bFrameOnly, bRemoveStuns, bRemoveExceptions ) end
</source>
== Parameters ==
{| class="standard-table" style="width: 50%;"
! Type
! Name
! Description
|-
| bool
| bRemovePositiveBuffs
| No Description Set
|-
| bool
| bRemoveDebuffs
| No Description Set
|-
| bool
| bFrameOnly
| No Description Set
|-
| bool
| bRemoveStuns
| No Description Set
|-
| bool
| bRemoveExceptions
| No Description Set
|}


''For more info about what this function should remove refer to http://dota2.gamepedia.com/Purge''
[[Category:Dota2Function]]
 
[[Category:CDOTA_BaseNPC]]
 
 
 
== Returns ==
 
''void''

Latest revision as of 09:17, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon 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

void Purge(bool bRemovePositiveBuffs, bool bRemoveDebuffs, bool bFrameOnly, bool bRemoveStuns, bool bRemoveExceptions)

(bool RemovePositiveBuffs, bool RemoveDebuffs, bool BuffsCreatedThisFrameOnly, bool RemoveStuns, bool RemoveExceptions

Example
function CDOTA_BaseNPC:Purge( bRemovePositiveBuffs, bRemoveDebuffs, bFrameOnly, bRemoveStuns, bRemoveExceptions ) end

Parameters

Type Name Description
bool bRemovePositiveBuffs No Description Set
bool bRemoveDebuffs No Description Set
bool bFrameOnly No Description Set
bool bRemoveStuns No Description Set
bool bRemoveExceptions No Description Set