RemoveBot: Difference between revisions
DrinkyBird (talk | contribs) (Documented RemoveBot) Tag: Source edit |
DrinkyBird (talk | contribs) (MR was merged, so this is now a 3.2 feature) Tag: Source edit |
||
Line 1: | Line 1: | ||
{{ACSWarning}}{{ | {{ACSWarning}} | ||
int '''RemoveBot''' ([str ''name'']) | {{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | ||
int '''RemoveBot''' ([str ''name'']) {{Devfeature|3.2|alpha}} | |||
== Usage == | == Usage == |
Latest revision as of 21:00, 28 January 2024
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer. |
int RemoveBot ([str name]) (development version 3.2-alpha and above only)
Usage
Removes a bot from the game.
Parameters
- name: The name of the bot to be removed. If this is unspecified or empty, a random bot will be removed.
Return value
Returns 1 if the bot was removed successfully, or 0 on error (e.g. no bot with that name is in the game).
Examples
This article lists no examples, please add one. |