Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-07-2001, 07:31 PM
Louis_one Louis_one is offline
Registered User
Join Date: Jun 2001
Location: Alabama and France
Posts: 113
Louis_one is on a distinguished road
Send a message via ICQ to Louis_one Send a message via AIM to Louis_one Send a message via Yahoo to Louis_one
ok .....

What is a script for a npc when the player chat a player's account and fired the weapon the account chatted will warp in a level
__________________

Reply With Quote
  #2  
Old 07-07-2001, 08:14 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
umm, i dont think u can do that on a free server.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #3  
Old 07-08-2001, 12:30 AM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
-Posted by Jadis

This is NPCServer but you could do..

NPC Code:

if (playertouchsme) {toweapons Jail;hidelocal;}
if (weaponfired) say2 //Might go off of the scroll
For this weapon to work#b
You must say jail then#b
the player's account#b
name. For example,#b
jail <accountname>.;
if (playerchats&&startswith(jail,#c)) {
tokenize #c;
if (tokenscount>=2) {
with (getplayer(#t(1))) setlevel2 jail.graal,30,30;
}
}



Anyway I think that should work...
Reply With Quote
  #4  
Old 07-08-2001, 12:43 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
In
Reply With Quote
  #5  
Old 07-08-2001, 12:46 AM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
There should be a auto-jail warper if anyone touches it it warps them to jail auto-matically......if you were to make it so that peeps couldn't go in then hackers with lat and all would be auto-jailed.................................What is Graal coming to these days.......
I enjoyed the classic server and everything when graal was still in the 1300's.....
Reply With Quote
  #6  
Old 07-08-2001, 01:01 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
if you make a system npc
like
timeout=.5;
if (timeout&&#s(server.warp)==#a) {
setlevel2 blah.graal;}

and the npcw

if (weaponfired&&!on) {
set on;
setplayerprop #c,Off.;
}
else
if (weaponfired&&on) {set off;
setplayerprop #c,On;
}

if (on) {
if (playerchats&&strequals(#c, ) {setstring server.warp,#c;
setplayerprop #c,Warped;
unset on;
}
not sure about the system npc part (first part)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:05 PM.


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