User Tools

Site Tools


4rpl:commands:setunitconnectable

Index

SetUnitConnectable

SetUnitConnectable(<-unit <-bool)

Description

Sets whether the unit can connect to other connectable units (like towers and pylons).

Note, the frame this is set, it will interfere with any dispatched packets sent from this unit and they won't be created, so avoid calling it every frame if you're trying to send packets.

Examples

SetUnitConnectable(self false)

Index

4rpl/commands/setunitconnectable.txt · Last modified: 2021/09/26 23:24 by durikkan