Kategorie: Objekte
Ab Engineversion: 7.0 OC
DoShockwave
Beschreibung
Flings all objects at the specified position in the specified radius. Has no visual effect. The x and y coordinates are always global coordinates.
Syntax
nil DoShockwave(int x, int y, int radius, int caused_by);
Parameter
- x:
- X-Koordinate
- y:
- Y-Koordinate
- radius:
- Radius and strength of the shock wave.
- caused_by:
- [opt] Number of the player who has caused the shock wave. If not specified, the the controller of the calling object is considered to have caused the damage in local calls.
Beispiel
Siehe auch: Explode