Preparing search index...
The search index is not available
@war3js/bootstrap
@war3js/bootstrap
natives
PauseUnit
Function PauseUnit
Pause
Unit
(
whichUnit
,
flag
)
:
void
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
Parameters
whichUnit
:
Unit
<
UnitEventMap
>
flag
:
boolean
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@war3js/bootstrap
bootstrap
natives
Generated using
TypeDoc
Pauses a unit. A paused unit has the following properties:
UnitAddItem
returns true but the item is not picked up