LuaGears.wiki
changeset 1984 48fb7b41cccf
parent 1982 f595ecf7922a
child 1986 399ccb203f0d
--- a/LuaGears.wiki	Tue Oct 08 16:58:22 2019 +0100
+++ b/LuaGears.wiki	Tue Oct 08 17:04:06 2019 +0100
@@ -108,21 +108,23 @@
 <code language="lua">    SetAmmo(amLaserSight, 0, 0, 0, 1)
     SpawnUtilityCrate(0, 0, amLaserSight)</code>
 
-=== `SpawnFakeAmmoCrate(x, y, explode, poison) ` ===
+=== `SpawnFakeAmmoCrate(x, y [, explode [, poison]]) ` ===
 Spawns a crate at the specified coordinates which looks exactly like a real ammo crate but contains not any ammo. It can be use useful for scripted events or to create a trap. If `x` and `y` are set to 0, the crate will spawn on a random position (but always on land).
-`explode` and `poison` are booleans.
-If `explode` is `true`, the crate will explode when collected.
-If `poison` is `true`, the collector will be poisoned.
+
+`explode` and `poison` are booleans. They are optional since 1.0.0 but mandatory until 0.9.25.
+
+If `explode` is `true`, the crate will explode when collected (default: `false`).
+If `poison` is `true`, the collector will be poisoned (default: `false`).
 
 Example:
 
 <code language="lua">SpawnFakeAmmoCrate(500, 432, false, false) -- Spawns a fake ammo crate at the coordinates (500, 434) without explosion and poison.
 </code>
 
-=== `SpawnFakeHealthCrate(x, y, explode, poison) ` ===
+=== `SpawnFakeHealthCrate(x, y [, explode [, poison]]) ` ===
 Same as `SpawnFakeAmmoCrate`, except the crate will look like a health crate.
 
-=== `SpawnFakeUtilityCrate(x, y, explode, poison) ` ===
+=== `SpawnFakeUtilityCrate(x, y [, explode [, poison]]) ` ===
 Same as `SpawnFakeAmmoCrate`, except the crate will look like an utility crate.
 
 == Position and velocity ==