PlayRumble
Player
8.0 OC
bool
int
player
Number of the player whose controller should rumble. Can be NO_OWNER to make all controllers rumble.
int
strength
Strength of the rumble, between 0 and 1000.
int
length
Duration of the rumble in milliseconds.
Plays a haptic effect on the given player's gamepad. Returns true if all parameters are valid; there is no way to know whether the rumble was actually played.
ShakeObjects(LandscapeWidth()/2, LandscapeHeight()/2, Distance(LandscapeWidth(), LandscapeHeight())/2);
PlayRumble(NO_OWNER, 1000, 2000);
Earthquake: Shakes all Clonks and rumbles all controllers at full strength for two seconds.
StopRumble
Luchs2016-02