Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetDamageFilter

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 14:09, 7 February 2017 by Sarynth (talk | contribs) (No longer auto-generated per DoctorGester)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Function Description

void SetDamageFilter(handle hFunction, handle hContext)

Set a filter function to control the behavior when a unit takes damage. (Modify the table and Return true to use new values, return false to cancel the event)

function CDOTABaseGameMode:SetDamageFilter( hFunction, hContext ) end


Type Name Description
handle hFunction No Description Set
handle hContext No Description Set