# HG changeset patch # User Wuzzy # Date 1538678130 -3600 # Node ID f1af9c28ce701d9115004dfb2654d96dfaa3bc48 # Parent c0026d20b468a1c647fc9c057a3fd68052e4e517 LuaAPI: Mention that you are not allowed to mix computer and human hogs in the same team diff -r c0026d20b468 -r f1af9c28ce70 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 30 00:48:57 2018 +0100 +++ b/LuaAPI.wiki Thu Oct 04 19:35:30 2018 +0100 @@ -474,7 +474,7 @@ === !AddHog(hogname, botlevel, health, hat) === 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. +`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. Note that mixing human-controlled and computer-controlled hedgehogs in the same team is not permitted, but it is permitted to use different computer difficulty levels in the same team. *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.