Docu: Volcano strength

clonk_re-export
Mark 2018-02-13 23:03:11 +01:00
parent 8a050c1ff9
commit f62050cf5b
2 changed files with 6 additions and 5 deletions

View File

@ -13,23 +13,23 @@
<param>
<type>int</type>
<name>x</name>
<desc>X position</desc>
<desc>X position, in global coordinates.</desc>
</param>
<param>
<type>int</type>
<name>y</name>
<desc>Y position</desc>
<desc>Y position, in global coordinates.</desc>
</param>
<param>
<type>int</type>
<name>strength</name>
<desc>Strength. Default: Relative to the height of the landscape</desc>
<desc>Strength of the volcano, the width of the lava stream in 1/4 pixels. Defaults to 4, maximum strength is 100.</desc>
<optional />
</param>
<param>
<type>string</type>
<name>material_name</name>
<desc>Name of the material. The default is "Lava"</desc>
<desc>Name of the material. The default is "Lava".</desc>
<optional />
</param>
<param>
@ -47,4 +47,5 @@
</related>
</func>
<author>Newton</author><date>2013-12</date>
<author>Marky</author><date>2018-02</date>
</funcs>

View File

@ -62,7 +62,7 @@ func FxIntVolcanoControlSaveScen(obj, fx, props)
return true;
}
// Launches a volcano at a given position, strength is measured in 1/4 pixels.
global func LaunchVolcano(int x, int y, int strength, string material, int angle)
{
var volcano = CreateObjectAbove(Volcano);