User Tools

Site Tools


4rpl:commands:setunitgrowsmesh

Index

:!: Available in version 2.0 and later.

SetUnitGrowsMesh

SetUnitGrowsMesh(<-unit true)

Description

Sets if a unit causes mesh to grow when over it. For instance, the emitter will cause mesh to grow. Custom units (or any unit) can have the GrowsMesh attribute and if so it will cause mesh to grow (turn from gray to blue) when over it. Note that the emitter by default sets this attribute every time it is created/loaded. All other units do not set this attribute by default.

Examples

SetUnitGrowsMesh(self true)

Index

4rpl/commands/setunitgrowsmesh.txt · Last modified: 2021/06/21 17:51 by Karsten75