User Tools

Site Tools


cw4:cmod:docs:8e6e5d5c-7979-4866-a81c-fab150007e3c

Differences

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

Link to this comparison view

Next revision
Previous revision
cw4:cmod:docs:8e6e5d5c-7979-4866-a81c-fab150007e3c [2024/03/19 20:22] – created Kaidencw4:cmod:docs:8e6e5d5c-7979-4866-a81c-fab150007e3c [2024/03/19 20:24] (current) Kaiden
Line 1: Line 1:
 <=[[cw4:info:start#custom_units| Index]] <=[[cw4:info:start#custom_units| Index]]
-====== [FPS ADVANCED TRAPS] [Trigger] Creeper Spawn Trap ======+====== [FPS ADVANCED TRAPS] [Trigger] Terrain Line Modifier ======
 //{{ :cw4:cmod:docs:terrainlinemodifier.png?200 |TerrainLineModifier}}// //{{ :cw4:cmod:docs:terrainlinemodifier.png?200 |TerrainLineModifier}}//
  
Line 8: Line 8:
 When it receives a ItemCollected message, which is broadcast by certain units such as a Switch or a InfocacheController, it will check if any variable in the list given by the InfocacheID variable matches any variable given by the ItemCollected message. Should the check succeed, this unit will activate once per successful check. By default it has one use so after successfully activating once, the unit will delete itself. When it receives a ItemCollected message, which is broadcast by certain units such as a Switch or a InfocacheController, it will check if any variable in the list given by the InfocacheID variable matches any variable given by the ItemCollected message. Should the check succeed, this unit will activate once per successful check. By default it has one use so after successfully activating once, the unit will delete itself.
  
-For example, if a Switch broadcasts its UID of 416 in ItemCollected, and the InfocacheID includes 416 in the list as well, it will match and succeed, and this unit will activate and set creeper in its radius. If another switch with a UID of 574 broadcasts its UID in ItemCollected and InfocacheID does not include 574 in the list, it fails and the unit will not activate and create creeper. If, however, InfocacheID is modified to "416,574", either switch will succeed the check as their UID is included somewhere in the list.+For example, if a Switch broadcasts its UID of 416 in ItemCollected, and the InfocacheID includes 416 in the list as well, it will match and succeed, and this unit will activate and set terrain in a line. If another switch with a UID of 574 broadcasts its UID in ItemCollected and InfocacheID does not include 574 in the list, it fails and the unit will not activate and set terrain in a line. If, however, InfocacheID is modified to "416,574", either switch will succeed the check as their UID is included somewhere in the list.
  
 ====Variables==== ====Variables====
cw4/cmod/docs/8e6e5d5c-7979-4866-a81c-fab150007e3c.txt · Last modified: 2024/03/19 20:24 by Kaiden