Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

OnUnitEnterLeave

Source

function getEnterLeaveUnit() returns unit

Source

Returns the unit that caused the enter/leave event to happen

function onEnter(code c)

Source

Adds a callback that is run when a unit enters the map

function onLeave(code c)

Source

Adds a callback that is run when a unit leaves the map