Hi, me and a friend are making a room to do events and can't figure out how to make it so that it notifies somewhere in the room that someone has purchased a room offer/key in rooms 2.0. If someone could please tell me what the circuts are to do thar weather it's with the text board or with a pop up on the screen I would really appreciate it.
#Purchased notifications 2.0
1 messages · Page 1 of 1 (latest)
Do you want all players to be notified? And what is the notification? As in, is it a subtitle you want?
Just a notification for everyone that says someone has purchased an offer. A subtitle or making it appear on the text board.
If you want it to appear on a text component, just hook up the room offer event to the text. It will be synced by default. If you want a subtitle, then get an event definition, get an event sender set to that definition, configure it to send to all, and have it hooked up to the offer purchased event
Then have an event receiver for that custom event connected to a subtitle chip
Okay thank you I'll try do that when I'm next on
This is for rooms 2.0 right because I can't find a subtitle chip and it won't let me hook up the room offer to the event sender and I can't find a offer purchased event
Yes! The chip is called “player show subtitle,” I believe.
In the event receiver search up “offer” and you’ll find it
Or “purchased” or something
Okay thank you do I have to connect room offer to the player purchased or is it just the purchased event by itself?
Oh, if there’s a player purchased output then it may mean the event is global—my bad. If that’s the case, it’ll play for everyone and so you don’t need another event. Just connect the orange bit of the event to the subtitle
I'm not gonna lie I'm struggling a bit would you be able to send me a screen shot when you have time I would really appreciate it
It’s 10x easier for people to help if you have a photo
Could you tell me what I'm doing wrong please?
Disregard my last statement, I didn’t realise you were talking about that chip. The chip in the bottom left needs to be an event receiver instead; configure the event receiver to the ‘offer purchased’ event
Its just coming up as a blank dot what do I need to change now
The purple part of the subtitle chip is the text. Change it to whatever you like
When there’s no text it shows a dot like that
How do I get it for multiple different offers?
What do you mean?
Youre also going to need a system to actually fulfil the offers
How do I make it so it shows who purchased the offer?
Configure the custom event, add a player input (or string, depending on your order) and hook the offer receiver into the sender. Get a “to string” chip that converts the player name into a string
Put that into a string format—in the second pin
and in the first pin type {0} for where you want the player name to go, along with the normal text
Connect the string format output into the subtitle input
Which event and where abouts is a player input?
the one that says "Event Definition." On the configure menu you will see a page for adding inputs
give it a name and select the "player" data type
This is all I see
Ah okay thank you
Also, if this is too complicated, you can instead use a get all players chip connected to a for each chip, connected to the subtitle. That will use more cpu, though
Would this chip run globally because there’s no player port?
Or am I thinking of it reversed
I'm ngl I have no idea how to do circuits if you couldn't tell already 🤦♀️
I would experiment because that circuit may or may not run globally already??? Just wire the execution straight to the subtitle and see if it shows for everyone, if not then it’s local
I think it's the same as Rooms 1 where keys and consumables will only run for that player
So which two parts do I hook the to string to?
Ive got this so far what do I need to do now?
Place a get local player
And put it into the to string
Or depending on your order you can just push it forward
Is there anything else I need to do?
On the “Format” port in the String Format
type what you want the subtitle to say
If you want it to say:
“Willow Bought Nuke All Players!”
Then put:
“{0} Bought Nuke All Players!”
The “{0}” will replace with the player that bought it
I've done that is that all I have to do?
Hold on
Configure the event definition and create a thing for strings and give it a name, I forget the exact name it’s like category or something
this one?
What now?
Is there a way to make it pop up for different room offers because I have multiple that I need to be notified for
You could save a chip by converting the name afterwards instead of before, but that might not matter to you. Apart from that, looks good
That circuit will go off when any offer is purchased
How do I make it so that I can tare apart which offer they brought?
The yellow output on the event tells you which offer was bought
Okay thank you
I really appreciate your guy's help 🙏
Can I connect that to something to make it pop up aswell saying what a player brought?
Yeah, I think you can use another to string chip and add it into the string format
You’ll need to add another input to the string format. The new input will be {1} while the first is {0}
So do I need two string formats or do I connect both the to strings to the same format?
The latter. Configure the string format and add an input
So I've connected the other to string to the string format, what do I need to connect the other side to?
A subtitle chip I imagine
So this is what I'm working with so far I'm kinda lost
Oh, that side. Connect the input of the new to string to the room offer output!
I'm not actually sure if that's possible, though
I did that but I can't connect multiple
multiple what?
Multiple room offers to the to string
the room offer output on the event reciever
It doesn't let me do that
dang
I'm not sure of an efficient way to do that then
someone else will probably come along with an answer
I've tried doing this but it just comes up with the one that was connected above the other one instead of the one that was actually purchased
Oh wait no worries I did it
What did you do?
I connected it up wrong at first but then tried connecting the room offer from the event chip to the value side of the to string