User Tools

Site Tools


4rpl:commands:applytodamagemap

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
4rpl:commands:applytodamagemap [2022/05/01 19:33] – Added info about (theorized) 1 depth of Creeper = 1,000,000 in value and some additional examples. Vertu4rpl:commands:applytodamagemap [2024/02/18 15:05] – [Examples] Added copy and paste preset. Vertu
Line 41: Line 41:
    #Remove the damage when this unit is destroyed    #Remove the damage when this unit is destroyed
    ApplyToDamageMap(self <-targetX <-targetZ 10 <-DAMAGE -1000000 * false)    ApplyToDamageMap(self <-targetX <-targetZ 10 <-DAMAGE -1000000 * false)
 +</code>
 +
 +==== Presets ====
 +<code 4rpl>
 +ApplyToDamageMap(self <-target.x <-target.z <-RADIUS <-DAMAGE 1000000 * false)
 </code> </code>
  
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/applytodamagemap.txt · Last modified: 2024/02/18 15:07 by Vertu