User Tools

Site Tools


4rpl:commands:func_buildcomplete

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:func_buildcomplete [2021/01/14 10:40] virgilw4rpl:commands:func_buildcomplete [2021/01/15 08:09] (current) – added H1 and H2 headers, changed example Trace to SetUnitDebugText Sanian
Line 2: Line 2:
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
-This callback is invoked when a unit completes building.+====== :BuildComplete ====== 
 + 
 +===== Description ===== 
 + 
 +":BuildComplete" is invoked when a unit completes building. 
 + 
 +===== Example =====
  
 <code 4rpl> <code 4rpl>
 :BuildComplete :BuildComplete
-   trace("I finished building")+   SetUnitDebugText(self "I finished building")
 </code> </code>
 +
4rpl/commands/func_buildcomplete.1610638821.txt.gz · Last modified: 2021/01/14 10:40 by virgilw