RemoveBot

Revision as of 02:44, 28 January 2024 by DrinkyBird (talk | contribs) (Documented RemoveBot)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 the acs-botfunctions Mercurial topic.

Also see the following merge request: !10: ACS functions: "AddBot" and "RemoveBot"

int RemoveBot ([str name])

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.

See also