User Tools

Site Tools


4rpl:commands:getunitincreeper

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

4rpl/commands/getunitincreeper.txt · Last modified: 2024/02/17 01:00 by LiteralNoob