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 05-04-2001, 06:49 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
i need an npc that does 40 damage to everyone on the level but me the person who fires it.
__________________


Returned to Graal 2/1/02
Reply With Quote
  #2  
Old 05-04-2001, 11:10 AM
omni-m00gle omni-m00gle is offline
delete all proofs
omni-m00gle's Avatar
Join Date: Apr 2001
Location: United Kingdom
Posts: 2,528
omni-m00gle is on a distinguished road
Send a message via AIM to omni-m00gle
No, you dont
__________________
-+ Malak +-

Never taste of the fruit...

Quote:
Originally posted by Stefan
on andor i got jailed for
impersonating me
Reply With Quote
  #3  
Old 05-04-2001, 11:25 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Question wtf?

Quote:
Originally posted by Cyboars
i need an npc that does 40 damage to everyone on the level but me the person who fires it.
wtf would you need that npc for... It sounds like you are creating a staff weapon but that is just dumb if it is. Like why would you ever have to kill everone on the leve but your self. It would just make people hate your server. If you can tell me 1 good reason on why you need that coding other then staff weapon then I will give you the coding
__________________
Thanks,
-KJL
Reply With Quote
  #4  
Old 05-04-2001, 12:36 PM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
Quote:
Originally posted by omni-m00gle
No, you dont
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #5  
Old 05-04-2001, 11:24 PM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
I Dont have a server, nor do I work for one, I was just wondering.
__________________


Returned to Graal 2/1/02
Reply With Quote
  #6  
Old 05-04-2001, 11:56 PM
freddyfox freddyfox is offline
Banned
freddyfox's Avatar
Join Date: Mar 2001
Posts: 6,705
freddyfox is on a distinguished road
Suuuuure you were....
Reply With Quote
  #7  
Old 05-05-2001, 12:32 AM
Cyboars Cyboars is offline
Registered User
Cyboars's Avatar
Join Date: Mar 2001
Location: Everwhere.
Posts: 209
Cyboars will become famous soon enough
Send a message via AIM to Cyboars Send a message via Yahoo to Cyboars
don't believe me?its the truth.besides, it'd be a fun thing to have around on your hard drive, killing npc's and crap and players, because its all good.
maybe its
if (weaponfired) {playerhearts=playerfullhearts;
if.else{hurt 40;
}
}
i doubt thats it considering my luck with npcws.
__________________


Returned to Graal 2/1/02
Reply With Quote
  #8  
Old 05-05-2001, 12:24 PM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
chris... u just dont get it.. its simple

if(weaponfired) {
putnpc light2.png,die_u_son_of_a.txt,playerx+5,playery+5;
}

die_u_son_of_a.txt:

if (created) {
drawaslight;
setcoloreffect 1,0,0,0.1;
blockagain;
drawoverplayer;
}
if (playertouchsme) {
hurt 999;
}
if (playersays(bleh)){
destroy;
}

of course, the server needs to have that txt on FTP which means, ull never be able to use it : )
Reply With Quote
  #9  
Old 05-05-2001, 07:18 PM
Guest
Posts: n/a
That ain't a good script, cause when people have touched it once. They'll not touch it again....
Reply With Quote
  #10  
Old 05-05-2001, 07:20 PM
Guest
Posts: n/a
maybe you should use

setzoomeffect 100;

so that they have to touch it cause they can't walk....they're all stuck then >=)
Just place those things in every level.... and make sure you have boots and magic shield....else you're stuck too..
Reply With Quote
  #11  
Old 05-05-2001, 09:23 PM
Cloud_X Cloud_X is offline
Cloud_X's Avatar
Join Date: Mar 2001
Posts: 2,921
Cloud_X will become famous soon enough
ummmm...........
Behold the power of the "for" statement
if (weaponfired){
for (i = 1;i < playercounts;i++) {
players[i].hearts = 0;
}
}
__________________
Temporary blocked
Stefan Knorr
Reply With Quote
  #12  
Old 05-06-2001, 06:07 AM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
Quote:
Originally posted by thotijn2
That ain't a good script, cause when people have touched it once. They'll not touch it again....
...yes they will die over and over again


to Cloud_X:

humm, im not the best scripter so screw you =P
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 12:58 AM.


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