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 11-05-2005, 11:27 PM
SyLaTAC SyLaTAC is offline
<3
Join Date: Mar 2005
Location: Irwin Idaho (look it up you wont find it that easy!)
Posts: 64
SyLaTAC is on a distinguished road
Send a message via AIM to SyLaTAC
a simple problem

ok ive make a weapon in rc but how do i make it so that
ppl on the server can buy the weapon and then have it go to the inventory?
then how can i make it so that once you use it it dissapears?
please helpme
Reply With Quote
  #2  
Old 11-06-2005, 12:19 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
have an NPC in the shop level that has addweapon weaponname in it. do not use toweapons and in the script of the weapon, put destroy at the end of the weaponfired part ex:
NPC Code:
if(weaponfired){
blahblahblah;
destroy;
}


Reply With Quote
  #3  
Old 11-06-2005, 12:50 AM
SyLaTAC SyLaTAC is offline
<3
Join Date: Mar 2005
Location: Irwin Idaho (look it up you wont find it that easy!)
Posts: 64
SyLaTAC is on a distinguished road
Send a message via AIM to SyLaTAC
i did that but it still wont add it does it have to be serverside or clientside?
Reply With Quote
  #4  
Old 11-06-2005, 01:01 AM
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
Suggestion/Advice: Learn how to script
__________________
Reply With Quote
  #5  
Old 11-06-2005, 01:26 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
serverside, just think, it is taking the information from the NC, which is part of the server, it cant add clientside, ecause the lpayer does not have that weapon, this is for adding the weapon, for the destroy part, this MUST be clientside (under the //#CLIENTSIDE line) as with the weaponfired
Reply With Quote
  #6  
Old 11-06-2005, 03:11 AM
SyLaTAC SyLaTAC is offline
<3
Join Date: Mar 2005
Location: Irwin Idaho (look it up you wont find it that easy!)
Posts: 64
SyLaTAC is on a distinguished road
Send a message via AIM to SyLaTAC
iam learning how to script my pizza shop is completely done and i did it before you both posted this massage cause i figured it out all by myself ;(D
Reply With Quote
  #7  
Old 11-06-2005, 03:13 AM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Okay, I've decided. I'll help you out a little here and there.
Contact me on AIM : KanOfKoke

I'll help you through the problems you encounter, and in a way so I won't have to re-explain.
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:27 PM.


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