yes, you did NOT use any of the scripts, you messed up and took 2 scripts and mixed them.
That doesnt work.
Look closely.
Printable View
yes, you did NOT use any of the scripts, you messed up and took 2 scripts and mixed them.
That doesnt work.
Look closely.
Faster way:
Make 3 triggers with different targetnames (trig1, trig2, trig3) and a door (targetname: door), and set it NO_BASH only (look at the image).
Attachment 532
Then, copy&paste this script:
PHP Code:
main()
{
trig1 = getent("trig1","targetname");
trig2 = getent("trig2","targetname");
trig3 = getent("trig3","targetname");
door = getent("door","targetname");
while(1)
{
trig1 waittill("damage",dmg,user);
if(dmg >10)
{
trig2 waittill("damage",dmg);
if(dmg >10)
{
trig3 waittill("damage",dmg);
if(dmg>10)
{
//do door stuff
user iprintlnbold("Moving door");
door movez(100,2);
door waittill("movedone");
door movez(-100,2);
door waittill("movedone");
}
}
}
wait 0.5;
}
}