299
Hey guys, A new way to make a player have to hold down or stand on a pressure plate for a period of time, Before it will activate. Instead of having to use the oldfashionmethodof many repeaters and then a "and" gate. Scoreboard does the job perfectly.
This is ideal for zombie survival games or other tower defence style mini games where one would have to stand and wait while a wall rebuilds.
The commands you will need :
Add the scoreboard :
/scoreboard objectives add door dummy door
Set it to 0:
/scoreboard players set @a door 0
Add 1:
/scoreboard players add @a door 1
Test for the number of "loops" you need:
/testfor @a[score_door_min=4]
Whatever you want it to do :
/setblock
This is ideal for zombie survival games or other tower defence style mini games where one would have to stand and wait while a wall rebuilds.
The commands you will need :
Add the scoreboard :
/scoreboard objectives add door dummy door
Set it to 0:
/scoreboard players set @a door 0
Add 1:
/scoreboard players add @a door 1
Test for the number of "loops" you need:
/testfor @a[score_door_min=4]
Whatever you want it to do :
/setblock
Tags |
tools/tracking
2541240
6
pressure-plate-activation-time-ideal-for-zombie-survival-wall-re-building-2541240
Create an account or sign in to comment.