How do i make it so that a property is equal to a value, it will check for the triggering players team number?

I don’t exactly know how to do this. My setup is a trigger checking if a property that is updated by a counter is greater than 0. If it is, i had it broadcast a message on a channel to trigger another trigger that checks for the triggering players team number, but it didn’t work, so please help, thanks!

If-> random number 1-something (depending on chance) is = 1 then Return players team number
Maybe

Maybe use a checker? What does it look like? Can you send screenshots?

1 Like


next trigger:
Screenshot 2023-09-24 4.10.55 PM
Screenshot 2023-09-24 4.11.17 PM

Are those numerical properties?

1 Like

Exactly my next question.

Blue allegiance think alike.

Yes, i’m not quite sure why it doesn’t work.

Try this:
Use a text instead of a trigger as your block hub.
Make it “when receiving on TeamNumber”
Your current setup.

1 Like

ok, i’ll try this and get back to you.

what if you did
if property=desired value
and tirggering players team number= desired number
then perform desired action
else if property=desired value and trigger players number= other number, do other action

1 Like

That wouldn’t work, you cant put a “triggering players team number” block in an “and”" block.

imageimage

1 Like

O, I forgot to use the = block, :face_with_open_eyes_and_hand_over_mouth:

1 Like

you dont need all the possible outcomes, but if you want it so if theyre not on team one to say something, and if they dont have the property updated say something else, you’d need this

Concatenation would help a lot!

1 Like

I think I just figured out why it wasn’t working, but before i jump to conclusions, I am going to test it.

Thanks @JamesPotter, It worked! I just forgot to connect the property to the counter, lol.

You should use the code I put to save yourself a lot of pain.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.