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-24-2002, 02:11 AM
Magic_Kitty Magic_Kitty is offline
Registered User
Join Date: Jul 2002
Posts: 13
Magic_Kitty is on a distinguished road
Send a message via AIM to Magic_Kitty
Question Help with deleting a weapon

Well if you start Graal Classic for example, you start with a normal bow and bomb.
but how would it be possible to make sure you DONT have them when you start? because im making a server, but you need to buy them or qeust for the NPC. How would i do this?
__________________
http://geocities.com/lordgozelda/fukologo.gif
I have no life, or i mean i do but Graal is my life!
Reply With Quote
  #2  
Old 07-24-2002, 02:27 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
GrowlZ:

I don't think you do start out with these NPCs by default. In Graal Classic, the bow and bomb are kind of system NPCs; they are NOT the default bow and bomb, they're a sort of inventory system that lets you have more than one type of bomb in one weapon. And as such, you've gotta have them at all times or you can't get upgrades. The normal method is that a server has two chests at the start containing the two weapons. They're not added automatically. As far as I know.
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 07-24-2002, 02:29 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
lol

NPC Code:

if (playerenters) {
toweapons Bomb;
toweapons Bow;
if (isweapon) {
destroy;
}
}

__________________
[signature]insert here[/signature]
Reply With Quote
  #4  
Old 07-24-2002, 02:35 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by screen_name
lol

NPC Code:

if (playerenters) {
toweapons Bomb;
toweapons Bow;
if (isweapon) {
destroy;
}
}

GrowlZ:

I was under the impression that "playerenters" toweapons cause illegal data errors. And that, from personal experience, free servers can't overwrite existing weapons of the player with ones of the same name. Still, I could be completely wrong. I ain't scripted online for a while. *shrug*
__________________
[signature]insert here[/signature]
Reply With Quote
  #5  
Old 07-24-2002, 02:47 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by screen_name
GrowlZ:

I was under the impression that "playerenters" toweapons cause illegal data errors. And that, from personal experience, free servers can't overwrite existing weapons of the player with ones of the same name. Still, I could be completely wrong. I ain't scripted online for a while. *shrug*
adding a weapon without an image disconnects you, and yes you can overwrite but with my experiances when i was scripting for a free server, it takes awhile to completelly update
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 05:54 PM.


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