1,544
edits
DrinkyBird (talk | contribs) (Documented AddBot) Tag: Source edit |
DrinkyBird (talk | contribs) (MR was merged, so this is now a 3.2 feature) Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ACSWarning}}{{ | {{ACSWarning}} | ||
int '''AddBot''' ([str ''name''[, int ''team'']]) | {{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | ||
int '''AddBot''' ([str ''name''[, int ''team'']]) {{Devfeature|3.2|alpha}} | |||
== Usage == | == Usage == | ||
Line 10: | Line 11: | ||
=== Return value === | === Return value === | ||
Returns '''1''' if the bot was added successfully, or '''0''' on error (e.g. no bot with the given named is defined, an invalid team was given, or the map [[MAPINFO| | Returns '''1''' if the bot was added successfully, or '''0''' on error (e.g. no bot with the given named is defined, an invalid team was given, or the map [[MAPINFO|disables bot nodes]]). | ||
== Examples == | == Examples == |