Author Topic: Eventing Help  (Read 581 times)

Im looking to make a message appear to everyone in the minigame when a player steps on a certain brick. The message would display whoever's name it was who is on the brick. Can anyone give a quick tip to someone who doesn't play all that much? it would be appreciated.

Sorry for the bad topic name, I was rushing to make this.

OnPlayertouch - minigame - chatMessageAll (%1 stepped on the brick)
You need the addon minigame events for tha

Ok, thanks. Now one more thing, I need my door to send me a message when someone who tries to enter is restricted. I tried "onContentRestricted>ownerclient>bottomprint>%1 is at your door" but it just displays my name to mewhen someone else activates the door. Any tips?

That's because Bloki made an error.
%1 shows the name of whatever client is looking at it.
For instance, I'd see it as "FaceDavid is at your door."
so i'm not sure.

You could use <var:cl:name> in VCE instead of %1, and if that doesn't work you could save the name variable to a brick event, and then send that out.

That's because Bloki made an error.
%1 shows the name of whatever client is looking at it.
For instance, I'd see it as "FaceDavid is at your door."

Are you sure about that? I thought that %1 was the name of the person who triggered the events, therefore everyone would see the same name.

For some reason, when a person activates something from JVS and i have it send to the owner (me) it just tells me that i am at my own door etc...

But ill try the variable thing im not too good at them but i'll get it eventually. If anyone has anymore tips please let me now. Im trying to get this to work with JVS bricks I already can make messages to the whole minigame correctly.

oh i c yes i did sth wron
But the variable thing will also not work.

When working on my challenge i wanted it to say NAME fell in lava... or so and tried out like 4 diff ways it was like plain impossible...

I've been looking around and have not found this, but is there a brickowner output event? I was thinking I could do something like onActivate>Brickownerclient>bottommessage...

Similar to my previous way of doing onContentRestricted>Ownerclient>Bottommessage with JVS. I don't know if it would change anything but if it existed it would probably be useful for other things in my server too

It exists but idk the name but I know that it exists cauz I already used it.

I actually just found it. Wow. I spent an hour this morning looking through RTB and the Blockland forums, searching as much of a detailed description as possible, then just tried again searching "owner" and found it within a minute. Going to try it out now.

Are you sure about that? I thought that %1 was the name of the person who triggered the events, therefore everyone would see the same name.
yes, i'm sure.
notice the default welcome message actually says "Welcome to Blockland, %1." if you look in the RTB pref.
whoever sees %1 sees their own name instead.

Turns out that didn't work either. I'm assuming there is no way to correctly do this at this point. If nothing else comes up i guess I'll just have to settle with "Someone is at your door." If anyone else can help that would be great and I appreciate the help from everyone else.

Turns out that didn't work either. I'm assuming there is no way to correctly do this at this point. If nothing else comes up i guess I'll just have to settle with "Someone is at your door." If anyone else can help that would be great and I appreciate the help from everyone else.
*cough*
You could use <var:cl:name> in VCE instead of %1, and if that doesn't work you could save the name variable to a brick event, and then send that out.



Copy events EXACTLY. Click brick once. Every person who clicks it afterwards will tell you who clicked it.