Minecraft Blogs / Tutorial

Pressure Plate Activation Time, Ideal for zombie survival wall re-building

  • 438 views, 1 today
  • 5
  • 0
SwitchB0ard's Avatar SwitchB0ard
Level 59 : Grandmaster Wizard
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
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome