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
  #16  
Old 02-14-2004, 02:23 AM
KuJiGX KuJiGX is offline
Registered User
Join Date: Dec 2003
Location: New York
Posts: 52
KuJiGX is on a distinguished road
Send a message via AIM to KuJiGX
Hehe. Damn he likes to make a lot of threads.
__________________
-KuJi
Reply With Quote
  #17  
Old 02-14-2004, 06:40 AM
TB3 TB3 is offline
Registered User
TB3's Avatar
Join Date: May 2001
Location: US of A State of VA
Posts: 658
TB3 is on a distinguished road
Send a message via Yahoo to TB3
Here is an idea add this to all putnpc2 npcs

NPC Code:

join npccontrols;



Then make a class like this
Class name = npccontrols
NPC Code:

if(destroy) {
destroy;
}



Then make an npc weapon that calls all npcs in a level with the destroy flag that way you can clear levels easily.

*Just a suggestion to prevent future problems or you can use the rc to clear it*
__________________

To the sun of your age, I arise
Reply With Quote
  #18  
Old 02-14-2004, 03:43 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
or
NPC Code:

if (playerchats&&strequals(#c,destroy)&&strequals(#g, NPC Admin)) {
destroy;
}

Reply With Quote
  #19  
Old 02-14-2004, 03:57 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by R0bin
or
NPC Code:

if (playerchats&&strequals(#c,destroy)&&strequals(#g, NPC Admin)) {
destroy;
}

Use KGSI or what ever it's called!
It's hard to read that way, like this!:
NPC Code:

if (playerchats){
if(strequals(#c,destroy)){
if(strequals(#g,NPC Admin)) {
destroy;
}
}
}


Easier to read, rawr
__________________
V$:CONFL16T
Reply With Quote
  #20  
Old 02-14-2004, 06:22 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally posted by WanDaMan

Use KGSI or what ever it's called!
It's hard to read that way, like this!:
NPC Code:

if (playerchats){
if(strequals(#c,destroy)){
if(strequals(#g,NPC Admin)) {
destroy;
}
}
}


Easier to read, rawr
Why? They are all related, and I find R0bins just as easy to read.
Reply With Quote
  #21  
Old 02-14-2004, 06:41 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Quote:
Originally posted by WanDaMan

Use KGSI or what ever it's called!
Its also easier to read if its indented, why dont YOU read the KSI-GS?
Reply With Quote
  #22  
Old 02-14-2004, 07:34 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by R0bin


Its also easier to read if its indented, why dont YOU read the KSI-GS?
Because I find it retarded and in some areas not finished.
__________________
V$:CONFL16T
Reply With Quote
  #23  
Old 02-15-2004, 03:39 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Um, **** wan?

Looks like the GMan was hacking earlier, a bunch of "Gman4pwnu has added a weapon (hacker?)" when it was known scripts didnt cause them, rofl.
Reply With Quote
  #24  
Old 02-15-2004, 09:40 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally posted by R0bin
Um, **** wan?

Looks like the GMan was hacking earlier, a bunch of "Gman4pwnu has added a weapon (hacker?)" when it was known scripts didnt cause them, rofl.
ROFL that's funny. I made a script a long time ago that tried to put baddies on the level. When I used it, the server d/ced me and said sort of the same thing on rc "ZeLpH_MyStiK has added a baddy (hacker?)" xD it was funny cause the GP Chief was on at the same time...
__________________
Reply With Quote
  #25  
Old 02-15-2004, 09:49 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by R0bin
Um, **** wan?

Looks like the GMan was hacking earlier, a bunch of "Gman4pwnu has added a weapon (hacker?)" when it was known scripts didnt cause them, rofl.
Instant ban
Ugh he is banned on era for hacking an account or something, snake just told me, LOL
__________________
V$:CONFL16T
Reply With Quote
  #26  
Old 02-16-2004, 02:58 PM
KuJiGX KuJiGX is offline
Registered User
Join Date: Dec 2003
Location: New York
Posts: 52
KuJiGX is on a distinguished road
Send a message via AIM to KuJiGX
Snake is like wierd.
Moment i log on Era i get banned for something that i didn't do.
*Logs on Era*
*Gets d/ced from Era*
*Logs again*
You have been banned for hacking 105/10 hp.


If i wanted to hack my hp (Which i can't) why would i want 105? why not 9999999 right?
__________________
-KuJi
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 11:39 PM.


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