From 21f1bec72433748e220d19e97a846df83340518e Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sun, 26 Jan 2014 21:31:59 +0100 Subject: New HUD element - waypoint. --- doc/lua_api.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 736f6ca4f..9d97dd6fa 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -507,7 +507,13 @@ Note: Future revisions to the HUD API may be incompatible; the HUD API is still - number: Number of items in the inventory to be displayed. - item: Position of item that is selected. - direction - +- waypoint + Displays distance to selected world position. + - name: The name of the waypoint. + - text: Distance suffix. Can be blank. + - number: An integer containing the RGB value of the color used to draw the text. + - world_pos: World position of the waypoint. + Representations of simple things -------------------------------- Position/vector: -- cgit v1.2.3