User Tools

Site Tools


4rpl:commands:func_destroyed

This is an old revision of the document!


Index

:Destroyed

Description

“:Destroyed” is called when a unit with this script is destroyed.

Clarification note:
When a unit is destroyed via DestroyUnit(self true true true), :Destroyed will still trigger.

Example

:Destroyed
   "I died" Print
4rpl/commands/func_destroyed.1708288264.txt.gz · Last modified: 2025/02/14 14:56 (external edit)