# HG changeset patch # User RedGrinner@gmail.com # Date 1316961485 0 # Node ID 379d7931ffc7929056aa30c08f9ba38cbf6c7a62 # Parent a644314c77033033df04ddc0ba42fee28477b6f5 Edited wiki page LuaAPI through web user interface. diff -r a644314c7703 -r 379d7931ffc7 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 14:35:55 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 14:38:05 2011 +0000 @@ -48,7 +48,7 @@ * <tt>!HealthDecrease = 5</tt> - amount of health decreased on sudden death * <tt>Map = "Bamboo"</tt> - the map being played * <tt>Theme = "Bamboo"</tt> - the theme to be used - * <tt>!Ready = 5000</tt> - the ready timer at the start of the round + * <tt>Ready = 5000</tt> - the ready timer at the start of the round * <tt>!MapGen</tt> * <tt>!TemplateFilter</tt> * <tt>Goals = "Jumping is disabled"</tt> - if you want to add info to the game mode dialog, use "|" to separate lines @@ -501,6 +501,11 @@ <blockquote>Display event text in the upper part of the screen. </blockquote> +=== <tt>!MapHasBorder()</tt> === + +<blockquote>Returns true/false if the map has a border or not. +</blockquote> + === <tt>!PlaySound(soundId)</tt> === <blockquote>Plays the specified sound.