cw4:cmod:docs:f246c1a6-358c-4ddc-b7c9-0826ed5bf8d6
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
cw4:cmod:docs:f246c1a6-358c-4ddc-b7c9-0826ed5bf8d6 [2024/03/19 19:30] – elaboration on ItemCollected Kaiden | cw4:cmod:docs:f246c1a6-358c-4ddc-b7c9-0826ed5bf8d6 [2024/03/19 20:03] – elaborated even moer Kaiden |
---|
//{{ :cw4:cmod:docs:creeperspawntrap.png?200 |CreeperSpawnTrap}}// | //{{ :cw4:cmod:docs:creeperspawntrap.png?200 |CreeperSpawnTrap}}// |
| |
A trigger entity. When activated, sets creeper in a radius around itself. Outside of the editor it is invisible. | A trigger entity. When activated, it sets creeper in a radius around itself. Outside of the editor it is invisible. |
| |
When it receives a ItemCollected message, which is broadcast by certain units such as a switch or a InfocacheController, and should any list entry in the data of the message match any list entry in the unit's InfocacheID variable, this until will activate. 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. 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. 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. |
| |
====Variables==== | ====Variables==== |
cw4/cmod/docs/f246c1a6-358c-4ddc-b7c9-0826ed5bf8d6.txt · Last modified: 2024/03/19 20:09 by Kaiden