RemoveBot

From Zandronum Wiki
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.

See also