# HG changeset patch # User Wuzzy # Date 1518147696 0 # Node ID ed6441e7ff847f5332434112110a26db83ed16dd # Parent 8d62ba66e7b0728775131a43b1721e996626b493 LuaAPI: Add limitations of AddHog diff -r 8d62ba66e7b0 -r ed6441e7ff84 LuaAPI.wiki --- a/LuaAPI.wiki Thu Feb 08 18:25:26 2018 +0000 +++ b/LuaAPI.wiki Fri Feb 09 03:41:36 2018 +0000 @@ -436,7 +436,7 @@ Adds a new hedgehog for current team (last created one with the `AddTeam` function), with bot level and specified health, also hat. `botlevel` ranges from `0` to `5`, where `0` denotes a human player and `1` to `5` denote the skill level of a bot, where `1` is strongest and `5` is the weakest. Note that this is the reverse order of how the bot level is displayed in the game. -*Warning*: This works only for singleplayers training missions for now and will desync multiplayer games. +*Warning*: This only works in singleplayer mode (e.g. missions). Also, Hedgewars only supports up to 48 hedgehogs in a game. If you add more hedgehogs or call this function in multiplayer mode, Hedgewars might fail. Example: