PauseUnit

Parameters
whichUnit unit
flag boolean
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
return type
nothing
Source code
native          PauseUnit           takes unit whichUnit, boolean flag returns nothing