User Tools

Site Tools


4rpl:commands:func_destroyed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
4rpl:commands:func_destroyed [2021/01/14 10:47] virgilw4rpl:commands:func_destroyed [2021/01/15 08:05] – added H1 and H2 headers, changed example to use print instead of trace Sanian
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<= [[4rpl:start|Index]]
  
-":Destroyed" is called when a unit is destroyed.+====== :Destroyed ====== 
 + 
 +===== Description ===== 
 + 
 +":Destroyed" is called when a unit with this script is destroyed. 
 + 
 +===== Example =====
  
 <code 4rpl> <code 4rpl>
 :Destroyed :Destroyed
-   trace("I died")+   "I died" Print
 </code> </code>
 +
4rpl/commands/func_destroyed.txt · Last modified: 2024/02/18 15:31 by Vertu