Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-10-2001, 08:05 PM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
Help

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...
__________________

Er1c2 loaded the local ban info of Loriel-2002 RC
Reply With Quote
  #2  
Old 07-10-2001, 08:14 PM
SkooL SkooL is offline
somebody to love
Join Date: Jun 2001
Location: bat country.
Posts: 3,446
SkooL is on a distinguished road
Send a message via AIM to SkooL
NPC Code:

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...
__________________
the sky is falling
Reply With Quote
  #3  
Old 07-10-2001, 08:33 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to 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
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #4  
Old 07-10-2001, 08:56 PM
SkooL SkooL is offline
somebody to love
Join Date: Jun 2001
Location: bat country.
Posts: 3,446
SkooL is on a distinguished road
Send a message via AIM to SkooL
Quote:
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'.
__________________
the sky is falling
Reply With Quote
  #5  
Old 07-10-2001, 08:59 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
Red face oops

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..
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #6  
Old 07-10-2001, 09:01 PM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
i know all that, but i want it to stay open, actually, i can do that
__________________

Er1c2 loaded the local ban info of Loriel-2002 RC
Reply With Quote
  #7  
Old 07-10-2001, 09:26 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
Thats a very simple script,if your asking then why are you saying you can do it now
__________________
Xerphier Dintch
Featuring
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.