User Tools

Site Tools


4rpl:commands:func_destroyed

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.txt · Last modified: 2024/02/18 15:31 by Vertu