PlayRumble
Kategorie: Spieler
Ab Engineversion: 8.0 OC
Beschreibung
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.
Syntax
bool PlayRumble(int player, int strength, int length);
Parameter
- player:
Number of the player whose controller should rumble. Can be NO_OWNER to make all controllers rumble.
- strength:
Strength of the rumble, between 0 and 1000.
- length:
Duration of the rumble in milliseconds.
Beispiel
Luchs, 2016-02