Author Topic: Output Event - fireRelayRandom  (Read 3860 times)

Requested by Freek

Sorry if I've worded this stupidly but I'm tired.

This is an output event which will at random select 1 type of direction to fire a relay. You can set which directions you would like to use in the output parameters.

Due to probably my hard to understand explanation, I will try and make it more clear with an example.



That will at random choose  fireRelay, fireRelayUp or fireRelayDown and will fire it.

Here is a list of all options you can put in:

relay ~ fireRelay
relayDown ~fireRelayDown
relayEast ~ fireRelayEast
relayNorth ~ fireRelayNorth
relaySouth ~ fireRelaySouth
relayUp ~ fireRelayUp
relayWest ~ fireRelayWest

Remember to put a space between each option.

Again I would like to apologize  for my terrible explanation of this mod and if you have any questions I will answer them.


Download



I'm still waiting for that minigame event to be released lol.
This is really nice.

I'm still waiting for that minigame event to be released lol.
This is really nice.
I don't really see many people using an event which allows them to switch between minigames, the large majority of servers with a main theme like a TDM would only have one.

Ooh cool. Could you add support for these two add-ons?
http://forum.returntoblockland.com/dlm/viewFile.php?id=1140
http://forum.returntoblockland.com/dlm/viewFile.php?id=3704

The people who don't have them wouldn't be affected even if you supported those right?

Instead of needing to type "relay relayUp relayDown", why don't you simplify it to just "Up Down"?
That beginning "relay" you require seems a bit pointless. Shouldn't that always be there?

Otherwise, this seems really neat.

would make more sense to use a dropdown list

would make more sense to use a dropdown list
what if I wanted all the relays randomized?
7 drop down lists?

Ooh cool. Could you add support for these two add-ons?
http://forum.returntoblockland.com/dlm/viewFile.php?id=1140
http://forum.returntoblockland.com/dlm/viewFile.php?id=3704

The people who don't have them wouldn't be affected even if you supported those right?
Sure, but how should I make support for the output parameter of each randomly event selected?

Instead of needing to type "relay relayUp relayDown", why don't you simplify it to just "Up Down"?
That beginning "relay" you require seems a bit pointless. Shouldn't that always be there?

Otherwise, this seems really neat.
The reason I put in the word relay is because of the actual fireRelay event. It has no direction and just does the relay within the brick specified. If you give me another way to specify the standard fireRelay event that doesn't sound silly I will make the change with the next update which should be a bit later on today.

EDIT: Just found a way I could do this myself, I'll include in the next update.

would make more sense to use a dropdown list

what if I wanted all the relays randomized?
7 drop down lists?
Sgt Daemon pretty much summed this up. What if you only want to randomize lets say 4 different relays, but in another case randomize 2 and in another maybe all of them? Having drop down lists in this case would just be ineffective. I think the way I have it now is probably actually the easiest way for people to use it.

Sgt Daemon pretty much summed this up. What if you only want to randomize lets say 4 different relays, but in another case randomize 2 and in another maybe all of them? Having drop down lists in this case would just be ineffective. I think the way I have it now is probably actually the easiest way for people to use it.

What about booleans for each direction?

What about booleans for each direction?
This would be good but I can't label each directions boolean so people won't know which booleans are for which direction. 

North, South, East, West, Up, Down, and Relay all start with different letters. Spawning items and emitter directions and stuff also use just the first letter.

The reason I put in the word relay is because of the actual fireRelay event. It has no direction and just does the relay within the brick specified. If you give me another way to specify the standard fireRelay event that doesn't sound silly I will make the change with the next update which should be a bit later on today.

"relay up left"

Those are all pretty decent suggestions. Last night I updated it using Port's suggestion. I will release it when I get a response to the question I asked Demian .