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 10-30-2001, 10:48 AM
Evil-Magus Evil-Magus is offline
Registered User
Join Date: Jul 2001
Location: Canada
Posts: 181
Evil-Magus is on a distinguished road
Send a message via AIM to Evil-Magus
I have a few scripts...

I am making some levels to get added to G2K1(my chances are slim) and im making a shop, the shop will sell bread, pie, and maybe some insturments and hats! I have most of the scripts but I need the script that makes it so if the player says "buy bread" s/he will get bread, if he says "buy pie" s/he will get pie, and so on, but so far I have:
if (playersays(buy bread)) {;}
if (playersays(buy pie)) {;}

Please help, and I know this probably wont get put online, but its fun to make!
I also need it so when I put up the hat and Insturment GFX it wont show it in all of the different posistions...
__________________
~Lloyd uses this account!


-Vu my perdy sig

Last edited by Evil-Magus; 10-30-2001 at 10:55 AM..
Reply With Quote
  #2  
Old 10-30-2001, 11:24 AM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
only top staff on graal such as stefan know the exact.. script for the strings.. sorry.. no one will say
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
Reply With Quote
  #3  
Old 10-30-2001, 01:21 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Correct. None of us know the strings that hold the amounts of bread, pie, and items. Plus, playersays is an ebil command. Use:

if (playerchats && strequals(#c,text)) { }
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #4  
Old 10-30-2001, 03:21 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: I have a few scripts...

Quote:
Originally posted by Evil-Magus
I am making some levels to get added to G2K1(my chances are slim) and im making a shop, the shop will sell bread, pie, and maybe some insturments and hats! I have most of the scripts but I need the script that makes it so if the player says "buy bread" s/he will get bread, if he says "buy pie" s/he will get pie, and so on, but so far I have:
if (playersays(buy bread)) {;}
if (playersays(buy pie)) {;}

Please help, and I know this probably wont get put online, but its fun to make!
I also need it so when I put up the hat and Insturment GFX it wont show it in all of the different posistions...
if the staff does put your levels up ... they will surely add the scripts to it ...
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 02:27 PM.


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