Warcraft 3 JASS Wiki
Advertisement
Kills the target unit.[]

native KillUnit takes unit whichUnit returns nothing

whichUnit - Unit to kill

Usage, eg. :

//This will kill the triggering unit

call KillUnit(GetTriggerUnit())

Advertisement