Index

:!: Available in 2.0.4 and later

GetUnitInCreeper

GetUnitinCreeper(<-unit) ->inCreeper

Description

Returns true if the unit (based on its footprint) is landed and any part is in creeper/anticreeper and the unit is set to take damage from creeper/anticreeper. If the unit is set to take damage from Creeper, then creeper is checked. If the unit is set to take damage from anticreeper, then anticreeper is checked.

Examples

GetUnitInCreeper(self) ->inCreeper

Index