StaggerActor
Staggers an actor - it reels and loses its next swing.
For seconds (0.2 .. 5) the actor swings no more, lowers its guard and cannot raise one - the opening a perfect block
gives in the game - and its body reels with the game’s own hit reaction on every screen. A stagger while one lasts lengthens
it. false for a dead, knocked-out or carried actor, an animal or anything else.
Syntax
Section titled “Syntax”StaggerActor(id, seconds)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
seconds |
number | how long, 0.2 .. 5 |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”StaggerActor(bandit, 2) -- a kick to the shinSee also
Section titled “See also”OnActorBlocked · SetActorBlockRules · the NPC actors group of the index
