| Blockland Forums > Suggestions & Requests |
| CMD-Triggered Events |
| << < (2/3) > >> |
| Bushido:
--- Quote from: ¥ola on July 31, 2012, 08:01:10 PM ---Well, hopefully this isn't like not what your trying to say, but if so please correct me. To me a much easier way of doing it would be one main input event such as OnCommandCalled or whatever With that input you can use the output of IfCommand and the parameter's could be an equal or not equal dropdown, then a text box with whatever you the command is an example so far of correct usage: OnCommandCalled -> Self -> IfCommand [==] [help] Then another input would be OnCommand which would check if OnCommandCalled was true, and allows you to do things based on if it's true or not. If this is what is being said, then I fully support. --- End quote --- that is exactly what i'm saying, so yeah |
| Duhman115:
--- Quote from: Bushido on July 31, 2012, 07:09:06 PM ---so, what if there was an event input (as in, something along the lines of onActivate, onContentStart, etc) that listened to and defined a specific slash command arguement (maybe something like /event command) that, when this command was entered in chat by an appropriate person (defined in the event output?), returned positive another input, onCalled, would be started up whenever this particular brick's /event command was used and would cause the brick to actually do things, like set up racing lights, or open doors sort of like a verbal remote control. i feel like there's a better way to go about this. if so, do not hesitate to tell me --- End quote --- VCE. Once you're finished looping the Relays, do Retrocheck>Ifplayerlastmessage> (I think player refers to the brick's owner, or output parameters ask for the player's name) [MESSAGE HERE] Then Onvariabletrue >blablabla>blablabla>blablabla Other tahn this we can ask Red_Guy how in his Unlimited Mining /help /help1 /help2 and /help3 work. |
| Mold:
--- Quote from: Duhman115 on August 01, 2012, 12:05:54 AM --- VCE. Once you're finished looping the Relays, do Retrocheck>Ifplayerlastmessage> (I think player refers to the brick's owner, or output parameters ask for the player's name) [MESSAGE HERE] Then Onvariabletrue >blablabla>blablabla>blablabla Other tahn this we can ask Red_Guy how in his Unlimited Mining /help /help1 /help2 and /help3 work. --- End quote --- We don't want ugly relay loops. Bah. Btw, /help[1,2,3] are a simple servercmdhelp that just message the client. No brick has to do anything together with them. Hmm How do we know on which bricks to trigger the event? We don't want to loop through all of them, aka LAG Package servercmdaddevent with a simple check to add the brick to a list when the input event is onCommandCalled If noone is already making this, I'll do it |
| Mold:
Shall it trigger the event on the CLIENTS bricks, or on ALL? |
| Mold:
Add-on finished, submitting to RTB / uploading here when back on my laptop, ~ in 1 hour |
| Navigation |
| Message Index |
| Next page |
| Previous page |