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, 10:56 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
ok uhm i need to make a weapon that heals you and then dissapears how would i do that?

NPC Code:
If (weaponfired) {playerhearts =playerhearts +1}


then what?

and how do i make it add a weapon to your inventory because i put the weapon in RC named it the same but when i buy it it doesnt add it X.x
Reply With Quote
  #2  
Old 11-06-2005, 01:03 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
NPC Code:
destroy;



*I sense another excaliber*
__________________
Reply With Quote
  #3  
Old 11-06-2005, 01:25 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
Quote:
Originally Posted by SyLaTAC
ok uhm i need to make a weapon that heals you and then dissapears how would i do that?

NPC Code:
If (weaponfired) {playerhearts =playerhearts +1}


then what?

and how do i make it add a weapon to your inventory because i put the weapon in RC named it the same but when i buy it it doesnt add it X.x
I answered this question for you in one of your other threads
Quote:
Originally Posted by ZeLpH_MyStiK
*I sense another excaliber*

Oh common, i am SO not that bad. At least you can't fond the answers to my problems in the little box at the side of every NPC done offline
Reply With Quote
  #4  
Old 11-06-2005, 01:46 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
Quote:
Originally Posted by excaliber7388
Oh common, i am SO not that bad. At least you can't fond the answers to my problems in the little box at the side of every NPC done offline
Nope, what you need is the little box of logic =D
__________________
Reply With Quote
  #5  
Old 11-06-2005, 01:57 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by excaliber7388

Oh common, i am SO not that bad. At least you can't fond the answers to my problems in the little box at the side of every NPC done offline
What you need is a box of sense.
Reply With Quote
  #6  
Old 11-06-2005, 02:30 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
Talking

Quote:
Originally Posted by Skyld
What you need is a box of sense.
;*( stop picking on me! waaaaah
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 12:46 PM.


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