LuaAPI.wiki
changeset 147 379d7931ffc7
parent 146 a644314c7703
child 148 f343b50d5619
equal deleted inserted replaced
146:a644314c7703 147:379d7931ffc7
    46  * <tt>!SuddenDeathTurns = 30</tt> - turns until sudden death begins
    46  * <tt>!SuddenDeathTurns = 30</tt> - turns until sudden death begins
    47  * <tt>!WaterRise = 47</tt> - height of water rise at sudden death in pixels
    47  * <tt>!WaterRise = 47</tt> - height of water rise at sudden death in pixels
    48  * <tt>!HealthDecrease = 5</tt> - amount of health decreased on sudden death
    48  * <tt>!HealthDecrease = 5</tt> - amount of health decreased on sudden death
    49  * <tt>Map = "Bamboo"</tt> - the map being played
    49  * <tt>Map = "Bamboo"</tt> - the map being played
    50  * <tt>Theme = "Bamboo"</tt> - the theme to be used
    50  * <tt>Theme = "Bamboo"</tt> - the theme to be used
    51  * <tt>!Ready = 5000</tt> - the ready timer at the start of the round
    51  * <tt>Ready = 5000</tt> - the ready timer at the start of the round
    52  * <tt>!MapGen</tt>
    52  * <tt>!MapGen</tt>
    53  * <tt>!TemplateFilter</tt>
    53  * <tt>!TemplateFilter</tt>
    54  * <tt>Goals = "Jumping is disabled"</tt> - if you want to add info to the game mode dialog, use "|" to separate lines
    54  * <tt>Goals = "Jumping is disabled"</tt> - if you want to add info to the game mode dialog, use "|" to separate lines
    55 
    55 
    56 If you want to add teams or hogs manually you have to do it here.
    56 If you want to add teams or hogs manually you have to do it here.
   499 === <tt>!AddCaption(text)</tt> (0.9.14) ===
   499 === <tt>!AddCaption(text)</tt> (0.9.14) ===
   500 
   500 
   501 <blockquote>Display event text in the upper part of the screen.
   501 <blockquote>Display event text in the upper part of the screen.
   502 </blockquote>
   502 </blockquote>
   503 
   503 
       
   504 === <tt>!MapHasBorder()</tt> ===
       
   505 
       
   506 <blockquote>Returns true/false if the map has a border or not.
       
   507 </blockquote>
       
   508 
   504 === <tt>!PlaySound(soundId)</tt> ===
   509 === <tt>!PlaySound(soundId)</tt> ===
   505 
   510 
   506 <blockquote>Plays the specified sound.
   511 <blockquote>Plays the specified sound.
   507 </blockquote>
   512 </blockquote>
   508 
   513