LuaEvents.wiki
changeset 1768 43762534f5ab
parent 1756 66b51b8ba202
child 1769 bae9bae61cda
--- a/LuaEvents.wiki	Wed Apr 17 13:07:39 2019 +0100
+++ b/LuaEvents.wiki	Wed Apr 17 13:08:35 2019 +0100
@@ -74,10 +74,10 @@
 == <tt>onGearDelete(gearUid)</tt> ==
 This function is called when a new gear is deleted. Useful in combination with `GetGearType(gearUid)`.
 
-== <tt>onVisualGearAdd(vgUid)</tt> (0.9.23) ==
+== <tt>onVisualGearAdd(vgUid)</tt> ==
 This function is called when a new visual gear is added. Useful in combination with `GetVisualGearType(vgUid)`.
 
-== <tt>onVisualGearDelete(vgUid)</tt> (0.9.23) ==
+== <tt>onVisualGearDelete(vgUid)</tt> ==
 This function is called when a new visual gear is deleted. Useful in combination with `GetVisualGearType(vgUid)`.
 
 == <tt>onGearDamage(gearUid, damage)</tt> ==
@@ -193,7 +193,7 @@
 == <tt>onUpUp()</tt> ==
 This function is called when you release the up key.
 
-== <tt>onUsedAmmo(ammoType)</tt> (0.9.23) ==
+== <tt>onUsedAmmo(ammoType)</tt> ==
 Called after a weapon has been used completely, with `ammoType` as the used ammo type.
 
 For example, it is called right after a bazooka is fired, when both shots of a shotgun have been fired, when extra time is used, or when all 4 shots of a portable portal device have been fired. It is also called when using a multi-shot ammo has been aborted by changing the weapon selection mid-way, because this still uses up the ammo.
@@ -222,7 +222,7 @@
 `frameIdx` is used for the rubber orientation. The possible values are explained in `PlaceRubber`. `centerX` and `centerY` are the coordinates of the rubber’s center.
 
 == <tt>onSpecialPoint(x, y, flags)</tt> ==
-This is used while a special hand-drawn map is loaded. The engine is building these hand-drawn maps by reading points from the map definition. Optionally, some of these points may be “special”. These are not actually drawn on the map, but are used to store additional information for a position on the map. Special points currently need to be added manually in the map, the in-game editor is not able to add those yet (as of 0.9.23).
+This is used while a special hand-drawn map is loaded. The engine is building these hand-drawn maps by reading points from the map definition. Optionally, some of these points may be “special”. These are not actually drawn on the map, but are used to store additional information for a position on the map. Special points currently need to be added manually in the map, the in-game editor is not able to add those yet.
 Now, when such a special point at the coordinates `x` and `y` with an assigned value of `flags` is added, this function is called. `flags` is a whole number between `0` and `255` inclusive.
 
 This function is used in Racer and !TechRacer to define waypoints.