User Tools

Site Tools


4rpl:commands:setunitconnectable

This is an old revision of the document!


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 and prevent them from being sent, so avoid calling it every frame if you're trying to send packets.

Examples

SetUnitConnectable(self false)

Index

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