| Blockland Files > Add-Ons |
| [Event] FireRelayNum v8.1 - Relay where no one has relayed before |
| << < (4/8) > >> |
| Master Lightbrink:
--- Quote from: MrLoL² on August 27, 2017, 08:58:33 AM ---this is relay cool --- End quote --- seriously dude |
| Potatoh:
--- Quote from: Master Lightbrink on August 28, 2017, 01:52:31 PM --- seriously dude --- End quote --- yea really serelayus |
| BlocklandBlockoCity:
i've never known how do i use Relays, though.... |
| Super Suit 12:
--- Quote from: BlocklandBlockoCity on September 09, 2017, 06:53:42 AM ---i've never known how do i use Relays, though.... --- End quote --- When you fire a relay on a brick, it triggers any and all events with onRelay. Here's an example, it makes both of these things open a door. onActivate -> Self -> fireRelay onPlayerTouch -> Self -> fireRelay onRelay -> Self -> door [OpenCCW] fireRelay[direction] does the same thing, but in a direction. These're used to A. trigger the same events with different inputs (as above) and B. have multi-brick structures without named bricks (so you can, for instance, make TNT and a detonator without having all TNT on the map explode when the detonator for one is pushed.) fireRelayNum does the same thing, but you specify what line numbers to fire, rather than all relays, meaning you can use relays to control multiple bricks. Events are fun and someone should make an eventing tutorial save/mode/thing. |
| mctwist:
--- Quote from: Super Suit 12 on September 09, 2017, 10:43:12 AM ---Events are fun and someone should make an eventing tutorial save/mode/thing. --- End quote --- https://forum.blockland.us/index.php?topic=55898.0 https://forum.blockland.us/index.php?topic=40983.0 Events are so special that if you get the basics going, you can understand everything from there. Just understand what each event does and you're good to go. |
| Navigation |
| Message Index |
| Next page |
| Previous page |