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

From Valve Developer Community
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