Index

SetUnitPacketRequestRate

SetUnitPacketRequestRate(<-unit <-rate)

Description

Sets the rate at which a unit can request packets. The rate is a number of frames. The normal value is 15 (so 2 packets per second).

Note: If used before a unit is finished building, it will affect the build speed as well as the ammo rate.

Examples

SetUnitPacketRequestRate(self 5)

Index