destroy

From Arx Libertatis Wiki
Revision as of 12:35, 19 June 2022 by Ds (talk | contribs)
Jump to navigation Jump to search

The destroy script command is used to destroy an entity or spell. The entity or spell will be marked for deletion. It will not be deleted until the end of the frame, but all further script events will be blocked and the entity is hidden immediately. If the given entity is also the calling entity, the script execution ends after this command.

Usage

destroy <entity>
destroy <spell>

Context: For self

Parameters:

ParameterTypeDescription
entity entity The entity to destroy.
spell spell The spell to destroy. (Added in Arx Libertatis 1.3)