Hi! Unexpected, right? I’ve seen questions about hiring sentries, but has anyone that about ‘hiring’ players? I’ll be showing you how now.
First of all, the players do NOT need to follow your exact ‘orders’, they can help anyone else. Of course, if you want, I can make a guide about that, which might not work. Notify me if you want one.
Starting… NOW.
Hiring a Player
First, make a cute counter. Not like the device. Like this:
If you’re wondering why the sentry has no device, look at this.
Put a button in front of the table. Set it like this:
Make a relay like this:
Wire the button to the relay, triggering it.
Make another relay with these settings ^.
Wire the first relay to the second, triggering the second relay.
Also, if you want the player to have something to hire, like money, you can just add a checker, wiring the button to the checker ,then the checker to the relay.
Make a property like this:
Wire the relay to a trigger like this:
Wire the button to this trigger.
Make a new trigger’s blocks like this. It depends on how many teams you have, the number, I mean(The number is the team number):
You can add as many else-ifs as you want, depending on the number of teams you have.
Make a team switcher for each of your teams, something like this:
Un-hiring
You got that stuff from before?
Make a zone you spawn in. Make it set a player-scoped number property called “Origin” to the player’s team number by using a counter(player-scoped) that updates Origin.
The zone will transmit on “Original”. Make a trigger like this in blocks(receiving on Original):
Make a button like this:
Make a trigger somewhat like this, and wire the button to the trigger:
You’re done now!
-@Blizzy