Call to action (pop up) help

Just before this, happy birthday Kat_aronii !!! :birthday_cake:
Can you make it so that you can only press the call to action (in a pop up btw) if you have certain thing. I need 2 ways:
1- if you have a specific name (if you have eg. Aguero10 you can, but Turtle, (first thought) you can’t)
2- If you have enough money (so if you have 100 you can, but 99, you can’t press it)

I only want it so you can press it if you have it, not press it if you don’t have enough and it does nothing. (I don’t mind if you can’t do this, it will be better though)

Thanks if you can help!
Aguero10 :slight_smile:

ok so I don’t think I know how to do the button activating with certain amount of cash.. I thought you meant could only buy with certain amount of cash. sorry.

Connect to a trigger
If triggering player’s name ! = turtle and triggering player’s name = aguero10,
Send to vending machine
(!= means not equal)

The pop up would still disappear
The only way to do it is to have two different popups, and connect them each to a scenario
Trigger-trigger block code-check triggering player’s name
Good name-popup with call to action
Bad name-popup without call to action

1 Like

Why does it matter if it disappears? You can re-open it

Well.. it is what they specifically asked for

Ok just add a close popup button and make it so you can’t manual close. The, in the vending machine if purchase suceeds, close popup.