PauseUnit

Parameters
whichUnitunit
flagboolean
comment

Pauses a unit. A paused unit has the following properties:

  • Buffs/effects are suspended
  • Orders are stored when paused and fired on unpause
  • The paused unit does not accept powerups. UnitAddItem returns true but the item is not picked up
patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native          PauseUnit           takes unit whichUnit, boolean flag returns nothing