Category: Environment
Since engine version: 1.0 OC
LaunchVolcano
Description
Launches a volcano at the specified position.
Syntax
bool LaunchVolcano(int x, int y, int strength, string material_name, int angle);
Parameters
- x:
- X position, in global coordinates.
- y:
- Y position, in global coordinates.
- strength:
- [opt] Strength of the volcano, the width of the lava stream in 1/4 pixels. Defaults to 4, maximum strength is 100.
- material_name:
- [opt] Name of the material. The default is "Lava".
- angle:
- [opt] Direction into which to erupt. 0 (default) is straight up.
See also: LaunchEarthquake, LaunchLightning