User Tools

Site Tools


4rpl:commands:getunitincreeper

This is an old revision of the document!


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.1708149606.txt.gz · Last modified: 2025/02/14 14:56 (external edit)