# HG changeset patch # User Wuzzy # Date 1575566715 0 # Node ID cbb1fde403680d93ef5b9b781b1e053930e82bbc # Parent 115b171c7e3ebc1a6ce3d6346616adf0d2a719fb LuaEvents: Fix special flags value diff -r 115b171c7e3e -r cbb1fde40368 LuaEvents.wiki --- a/LuaEvents.wiki Thu Dec 05 16:12:25 2019 +0000 +++ b/LuaEvents.wiki Thu Dec 05 17:25:15 2019 +0000 @@ -247,6 +247,6 @@ === onSpecialPoint(x, y, flags) === 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. +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 `127` inclusive. This function is used in Racer and !TechRacer to define waypoints.