# HG changeset patch # User Wuzzy # Date 1543881314 0 # Node ID b91b4d97132db6df2890a940259a019b1a27324f # Parent cf681f30877dcbdc38f30175cd4cc43211a9138c LuaAPI: AddTeam formatting diff -r cf681f30877d -r b91b4d97132d LuaAPI.wiki --- a/LuaAPI.wiki Mon Dec 03 23:54:01 2018 +0000 +++ b/LuaAPI.wiki Mon Dec 03 23:55:14 2018 +0000 @@ -1333,9 +1333,11 @@ === Clans and teams === ==== !AddTeam(teamname, color, grave, fort, voicepack, flag) ==== -Adds a new team. Note that this can only be done in `onGameInit`, not at a later time. +Adds a new team. + +You *must* call it only in `onGameInit`. You *must* add at least one hedgehog with `AddHog` after calling this. The engine does not support empty teams. -`AddTeam` is only supported for singleplayer missions. You *must not* use this function in multiplayer. +`AddTeam` is only supported for singleplayer missions. You *must not* call this function in multiplayer. Arguments: