Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.
Creates a compound action that, when played by an object, will shake the object back and forth either horizontally or vertically.
PRActionQShake(isHorz, travel, shakeCount, durationPerShakeSecs)
Set to true for horizontal shaking. Set to false for vertical shaking.
The distance that the shake travels.
The number of shakes to perform. Specify a negative number here for infinite shaking.
The time, in seconds, that it takes for the shake animation to travel from one extreme to the other and back.
The created action object.