How do I use the team number as a variable?

I want to make it so that if a team buys something, that team will be able to tag the other two teams. How do I code it so that each team has the option to do it?

Connect a Lifecycle (Game Start) to a Relay (Specific Team, choose the team that can tag the other team once the vending machine is purchased) to your Vending Machine

(Lifecycle) Event Occurs > (Relay) Trigger Relay

(Relay) Relay Trigger > (Vending Machine) Activate Machine

Next, connect your Vending Machine to a Tag Zone.
Since the Vending Machine is only active for that certain team, when it is purchased, it’ll activate a Tag Zone!

Item Purchased > Activate Tag Zone

Welcome to the forums! @FloodNinja110!

Don’t forget to check out the new-user-must-read and forum-tips tag.

They give you a gist of the rules.

While you’re at it, I suggest also reading the

TOS and FAQ.

If you need help with anything, just ask!

After all, this is a Community Forum :slight_smile:

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