PDA

View Full Version : Help


Metal-Slug
07-10-2001, 08:05 PM
i cant script very well at all, i am making a guild house for my prosporus guild Nitako, i need help scripting an NPC that is like a gate, only Nitako can get in, unless one says open gate, and then any one can get in, also i need somone to help me script something like the dojo in saneterian. also i need...

SkooL
07-10-2001, 08:14 PM
if (created) {
show;
}

if (playertouchsme&&strequals(#G,Nitaku) {
hidelocal;
}
else {showlocal;}

If someone in the guild touchs the door, the door hides, someone isn't, the door shows...

Knightoffrost
07-10-2001, 08:33 PM
if(playerenters) {
show
}
if(playertouchsme && strequals(g,Nitako) {
hidelocal;
sleep2;
showlocal;
}
if(playersays(open) && strequals(g,Nitako) {
hide;
sleep2;
show;
}

Just put that in the gate gif

SkooL
07-10-2001, 08:56 PM
Originally posted by Knightoffrost
if(playerenters) {
show
}
if(playertouchsme && strequals(g,Nitako) {
hidelocal;
sleep2;
showlocal;
}
if(playersays(open) && strequals(g,Nitako) {
hide;
sleep2;
show;
}

Just put that in the gate gif
Errr...you need a space in your sleeps, 'sleep 2' not 'sleep2'.

Knightoffrost
07-10-2001, 08:59 PM
Use this

if(playerenters) {
show
}
if(playertouchsme && strequals(g,Nitako) {
hidelocal;
sleep 2;
showlocal;
}
if(playersays(open) && strequals(g,Nitako) {
hide;
sleep 2;
show;
}


Bah no matter. there it is..

Metal-Slug
07-10-2001, 09:01 PM
i know all that, but i want it to stay open, actually, i can do that

Knightoffrost
07-10-2001, 09:26 PM
Thats a very simple script,if your asking then why are you saying you can do it now :rolleyes: :rolleyes: :rolleyes: